Web-server – Subdomains direct to different web servers behind single public IP address

domain-name-systemsubdomainweb-hostingweb-server

I have two separate web servers with two different internal IP addresses on a network with only one public IP address. One is Windows Small Business Server 2011 and the other is a new e-mail encryption gateway appliance.

I have subdomains configured for remote.domain.com and securemail.domain.com both pointing to the same public IP. I need both of these subdomains to point to the correct internal server both on port 80.

I've configured forward lookup zones on the SBS server pointing to the appropriate IP addresses. I have a SonicWall NSA 220 firewall. I had firewall rules to redirect 80 to the SBS server, but I've set up an overriding rule to redirect 80 to the gateway appliance until I can get both services operating concurrently.

I referenced this thread, but my situation is different enough that the responses to it don't apply.

Thanks in advance!

Best Answer

The solution in the end was to host the e-mail gateway appliance's web server on a different port. This is not ideal, but, since most of the end users who would access it will do so via clicking a link in an e-mail, it's sufficient.

No form of redirect will work with two separate internal servers and only one external IP.

Related Topic