how to? 1 domain name, 1 ISP Static IP, 1 router, 3 physical web Servers
- by buliwyf
I have 1 Static IP from my ISP, 58.59.60.61
I have 3 local physical web servers:
Win2008 IIS 7, local IP 192.168.10.11, mydomain.com
Ubuntu Apache2, local IP 192.168.10.12, subdomain1.mydomain.com
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?