PeterHala
asked on
Problems with IIS 7.5, Binding to multiple sites, CNAME redirects & VPN
Hi,
I’m having a fun little run around with IIS & VPN. I have a shortage of public IP addresses and so a need to run several web sites on one machine with only one address. I had thought I had solved this shortage by a combination of CNAME redirects and bindings in IIS. This works for machines on my local subnet and for machines connected over the internet. However when machines connected using our VPN attempt to connect to a redirected site they are directed to our Default site. I have tried stopping the Default site but this just produces a site not found error. I’ll give some details in the hope of saving time:
On my IIS 7.5 server I have a public IP called myserver.mydomain.com – lets say the IP is 555.555.555.555
I have also defined another site called docs on the server. This has two bindings as follows:
IP 555.555.555.555 to docs
IP 555.555.555.555 to docs.mydomain.com
In DNS I have set up CNAME redirect from docs.mydomain.com to myserver.mydomain.com
Every thing is fine & dandy; machines located on the same subnet as the web server and those out side of the our immediate network both correctly web browser to myserver.mydomain.com and docs.mydomain.com
Machines that have a VPN connection into the same subnet as the web server however get a different response. If they browse to docs.mydomain.com they are taken to myserver.mydomain.com.
Something is stripping out the redirects. Any idea what? any suggestions on how to debug this one?
All suggestions gratefully received.
Regards,
Pete
I’m having a fun little run around with IIS & VPN. I have a shortage of public IP addresses and so a need to run several web sites on one machine with only one address. I had thought I had solved this shortage by a combination of CNAME redirects and bindings in IIS. This works for machines on my local subnet and for machines connected over the internet. However when machines connected using our VPN attempt to connect to a redirected site they are directed to our Default site. I have tried stopping the Default site but this just produces a site not found error. I’ll give some details in the hope of saving time:
On my IIS 7.5 server I have a public IP called myserver.mydomain.com – lets say the IP is 555.555.555.555
I have also defined another site called docs on the server. This has two bindings as follows:
IP 555.555.555.555 to docs
IP 555.555.555.555 to docs.mydomain.com
In DNS I have set up CNAME redirect from docs.mydomain.com to myserver.mydomain.com
Every thing is fine & dandy; machines located on the same subnet as the web server and those out side of the our immediate network both correctly web browser to myserver.mydomain.com and docs.mydomain.com
Machines that have a VPN connection into the same subnet as the web server however get a different response. If they browse to docs.mydomain.com they are taken to myserver.mydomain.com.
Something is stripping out the redirects. Any idea what? any suggestions on how to debug this one?
All suggestions gratefully received.
Regards,
Pete
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER