What's the best (read: least fiddling about in registry, etc) way to allow a Windows Server (I'm using 2008 R2) to access a site it hosts through the domain name e.g. www.example.com
?
Editing the hosts file was the first thing I tried, however, it did not work.