how to? 1 domain name, 1 ISP Static IP, 1 router, 3 physical web Servers

Posted by buliwyf on Server Fault See other posts from Server Fault or by buliwyf
Published on 2011-01-06T02:41:37Z Indexed on 2011/01/06 2:55 UTC
Read the original article Hit count: 273

Filed under:
|
|
|
|

I have 1 Static IP from my ISP, 58.59.60.61

I have 3 local physical web servers:

  1. Win2008 IIS 7, local IP 192.168.10.11, mydomain.com
  2. Ubuntu Apache2, local IP 192.168.10.12, subdomain1.mydomain.com
  3. Win2003 IIS 6, local IP 192.168.10.13, subdomain2.mydomain.com

I have 1 domain name, mydomain.com. It is configured this way:

Host(A), @, 58.59.60.61

Host(A), subdomain1, 58.59.60.61

Host(A), subdomain2, 58.59.60.61

My router is a pfSense box. It forwards all port 80 traffic to a group alias called "WebServers," which is my 3 web server IP's.

This setup should work right? I believe I need to set the "host header names" in my web servers. In IIS I know how to do this. How do I do this in Apache2?

© Server Fault or respective owner

Related posts about dns

Related posts about iis