Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

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.
0
jjmartineziii
Asked:
jjmartineziii
1 Solution
 
RikketyrikCommented:
Do you have contoso.com pointing to the IP address? What does NSLOOKUP tell you?

You can also add a wildcard host record. "@" is the wildcard if memory serves. So add a record @.contoso.com and anything will resolve to it. blahblah.contoso.com etc.

0
 
tigermattCommented:
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
0
 
Chris DentPowerShell DeveloperCommented:

> @" 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
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
feptiasCommented:
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.
0
 
tigermattCommented:
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.
0
 
jjmartineziiiAuthor Commented:
First to answer! Thanks
0
 
tigermattCommented:
Can you please explain why the other posts did not warrant some points?
0
 
jjmartineziiiAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now