January 17th, 2014, 12:55 AM
Strange ip address domain name issue
I have a Windows Server 2008 R2 running IIS7 with an issue I have never run across before. For some reason the sites will load using the domain name but NOT the associated ip address.
http://(ipaddress)/page returns 404
I have of course seen the reverse to be true when DNS is not configured correctly but never the other way around. This server was working correctly at one point. I have no idea when this problem appeared as I rarely if ever use the ip address format.
I am stumped. I know the ip addresses are correct. I can access files from the local network using the network names or ip addresses. I have double checked the DNS configurations.
What am I missing here? There are some rare instances when I need to use the ip address format from a web browser.
January 17th, 2014, 11:55 AM
In your bindings you probably have the site setup so it only responds if the host is set to your domain. If it's not set it probably serves a default site. I'm not familiar enough with IIS config to guide you exactly how to fix this but if you're wanting to use either the IP or domain to access the site then clear out the host in your bindings config.
Recycle your old CD's, don't just trash them
If I helped you out, show some love with some reputation, or tip with Bitcoins to 1N645HfYf63UbcvxajLKiSKpYHAq2Zxud
January 17th, 2014, 01:33 PM
Asked and answered elsewhere by Keith Longmead:
This easily solved the issue. Thanks again.