popeus
Programmer
- Dec 13, 2000
- 21
My isp charges $10 per ip address so i'm trying to figure a way to host multiple web sites behind a router/firewall.
I have 3 ip addresses. One address for primary dns, one for secondary dns and one to assign to web sites. My question is can i assign the last ip address to a router/firewall, map that address to an internal dns server and have the internal dns server route traffic to multiple internal web servers? For instance:
dns0: 216.192.1.5
dns1: 216.192.1.6
In the dns all web site requests point to 216.192.1.7 which is actually the router/firewall. 216.192.1.7 on the router/firewall is mapped to 192.168.1.2 (internal dns).
I have 3 internal web servers:
web1: abc.com = 192.168.1.3
web2: def.com = 192.168.1.4
web3: ghi.com = 192.168.1.5
Internet request for abc.com go's to dns0 (216.192.1.5) which send the request to router/firewall (mapped to internal dns), internal dns records indicate abc.com is located on web1, forwards the request to web1, web1 returns web page through router/firewall back to the end user.
I hope you can understand what i'm trying to accomplish, any suggestions would be very helpful.
Thanks
I have 3 ip addresses. One address for primary dns, one for secondary dns and one to assign to web sites. My question is can i assign the last ip address to a router/firewall, map that address to an internal dns server and have the internal dns server route traffic to multiple internal web servers? For instance:
dns0: 216.192.1.5
dns1: 216.192.1.6
In the dns all web site requests point to 216.192.1.7 which is actually the router/firewall. 216.192.1.7 on the router/firewall is mapped to 192.168.1.2 (internal dns).
I have 3 internal web servers:
web1: abc.com = 192.168.1.3
web2: def.com = 192.168.1.4
web3: ghi.com = 192.168.1.5
Internet request for abc.com go's to dns0 (216.192.1.5) which send the request to router/firewall (mapped to internal dns), internal dns records indicate abc.com is located on web1, forwards the request to web1, web1 returns web page through router/firewall back to the end user.
I hope you can understand what i'm trying to accomplish, any suggestions would be very helpful.
Thanks