We have a small website on a NT4 server using IIS. It is the default website. Now I want to add another site and I have created a new website called newsite.com and created the host headers.
On our DNS server I have created the domain newsite.com and setup 2 host records:
(same as parent) 10.1.2.10
www (10.1.2.10)
10.1.2.10 = web server ip
I have both sites in IIS using this ip address.
Since my pc is pointed to the same DNS server, shouldn't I be able to type in www.example.com and it pull up?
Any help would be great!
Software/Hardware used:
ASKED:
March 18, 2009 6:38 PM
UPDATED:
March 19, 2009 6:50 PM
I’ve already done flushdns. I also want to add that we are moving this site from another state. The files have been setup and copied to our webserver but we want to test everything locally before we redirect the domain name. Internally, when I did ping -a newsite.com – it comes back with the current ip address as if I was pinging it from outside our network. I am new at DNS but shouldn’t our DNS check for a local host file first for newsite.com and respond with our ip address rather than reaching out to the internet and replying with the current ip address of the soon to be moved site?
Ok I have figured it out. When I said I had setup the domain on our DNS, I did this under the local zone but I didn’t create a new primary zone. After doing this, it works fine.
Thanks for the help.
Great glad things are working for you.