I have a brand new install of Windows Server 2012 with IIS 8 on a colocated box. I moved the InetPub folder to D:\ using the script here.
I set a domain to point to the server.
I added a new website with the machine's IP address and the domain as the host name
When I go to that web site from the local server (using the domain name) I get the default web site, not the new one with that host name configured. Btw, DNS propagation is done.
However, when I browse to that domain from my dev machine, I get a 404 error. If I explicitly go to the default page on my new site (index.html) it displays.
So two issues here (are they related?):
- Local machine seems hared wired to go to the stock default web site (i.e No IP address or host name assigned.)
- The default document feature is not working on new web site. I verified it is enabled.
I will also post the default document issue separately (with its own Title) in case it is not in any way related.