I have a website - myexamplewebsite.com that is currently running with a third party hosting provider on the LAMP architecture. I'm trying to migrate everything to our own in-house servers, and run it on Windows Server 2008 R2 and IIS 7.
We have a domain controller set up on one server (AD DS role, along with the DNS role), and a second machine runs IIS 7. The server network (comprises of more computers and additional server roles) is not connected to the internet at the moment, and will
not be connected for the next few months till we complete our development and testing.
The preferred DNS Server setting for the IIS 7 machine has been set to the IP of the DC machine. (In fact all servers within the network point to the DC machine for the preferred DNS Server setting.)
So far, I am just about getting to grips with IIS 7 and Visual Web Developer 2008 (ASP.Net), and have started configuring my website. However, while debugging the website, I notice that the browser can only display the website when we use the local loopback
address 127.0.0.1, and won't work when we use the domain name of the website, even if I set the domain name in the website's configuration in IIS. I understand I'm missing a DNS entry somewhere on the DC machine, but I don't know how to set it.
I would like to set the proper domain name for the website, and have the browsers display the under-development website on the IIS machine, whenever I put in the domain name in the browser window fromany machine within my internal server network. This will also enable me to work with absolute links when coding my website, instead of having to rely on relative links that I'm currently having to do.
Would appreciate some help here.
Thanks.