IIS website and local DNS

80 pts.
Tags:
DNS server
IIS
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!

Answer Wiki

Thanks. We'll let you know when a new response is added.

You are on the right track. Try ipconfig /flushdns to flush your DNS tables. Then double check your headers.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Smarcellini
    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?
    80 pointsBadges:
    report
  • Smarcellini
    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.
    80 pointsBadges:
    report
  • mshen
    Great glad things are working for you.
    27,385 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following