Routing different domain names on the same IP
I was wondering if anybody could help me with this. I have 3 machines in my apartment running Ubuntu 6.06 LTS, CentOS 4.4 and Windows XP Pro SP2. These 3 machines are behind a single D-Link DI-604 router. This router is behind the router of the ISP who provides the broadband Internet connection (the ISP router is also in my apartment). So essentially, I have one public IP (router) and all the servers are on private IPs. I have 3 domain names and I want to host each of the 3 domains on the 3 different machines.
How do I accomplish the following situation:
www.example1.com > 192.168.0.100 (CentOS)
www.example2.com > 192.168.0.101 (Ubuntu)
www.example3.com > 192.168.0.102 (WinXP Pro)
example1.com, example2.com and example3.com ...all point to the same public IP address.
BTW, I want to use port 80 for all the 3 domain names.
|All times are GMT -5. The time now is 04:00 AM.|