Link to home
Start Free TrialLog in
Avatar of jjmartineziii
jjmartineziiiFlag for United States of America

asked on

External DNS WWW record

Everything in this post is fictional.

I have a domain, contoso.com. I have two dns servers registered with that. ns1.contoso.com and ns2.contoso.com. I am putting out a webserver which I want to respond with www.contoso.com. This works fine but when I try to go to it via contoso.com it won't work.

What do I need to do to fix this? We are using Microsoft DNS.
ASKER CERTIFIED SOLUTION
Avatar of Rikketyrik
Rikketyrik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tigermatt
All you need to do is create a blank A (host) record in each nameserver's contoso.com DNS zone, which is configured with the same IP address as your www record. That will instruct all contoso.com requests to go to the appropriate web server.

-tigermatt

> @" is the wildcard if memory serves

@ is Origin (shorthand for the zone name)

* is Wildcard

Tigermatt has the right one for this though, just requires the blank entry.

Chris
Windows DNS shows blank Host (A) records as "(same as parent folder)". However, if you have a Windows Active Directory domain called contoso.com then you must leave the existing records as they are because AD requires that they point at the Domain Controller. This is why it is best not to name your Windows domain the same as your public DNS domain.
And for security reasons it's a good idea not to use Active Directory DNS servers - whether DCs or just members of the domain - as DNS servers for an external namespace.
Avatar of jjmartineziii

ASKER

First to answer! Thanks
Can you please explain why the other posts did not warrant some points?
They were the first to answer. Anyone else could have (not saying they did) just copied the answer and put in their own words.

I think, that just because everyone is right, doesn't mean everyone should get points. I might be wrong.