80 pts.
0
Q:
IIS website and local DNS
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!
ASKED: Mar 18 2009  6:38 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
23525 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button
You are on the right track. Try ipconfig /flushdns to flush your DNS tables. Then double check your headers.
Last Answered: Mar 18 2009  10:15 PM GMT by Mshen   23525 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Smarcellini   80 pts.  |   Mar 19 2009  1:02PM GMT

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 <a href="http://newsite.com" title="http://newsite. " target="_blank">newsite.com</a> - 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 <a href="http://newsite.com" title="http://newsite. " target="_blank">newsite.com</a> 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?

 

Smarcellini   80 pts.  |   Mar 19 2009  3:27PM GMT

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.

 

Mshen   23525 pts.  |   Mar 19 2009  6:50PM GMT

Great glad things are working for you.

 
0