Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a website 'example.com', with the subdomain 'sub.example.com'. However, my clients are accessing the subdomain like this: 'www.sub.example.com'. Why this was an issue was 'www.sub' was redirecting to my main site, not my sub site.

My question is, how can I find out my dns records if my server is not the nameserver?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

actually i think there are two separate things:

  • dns records - those you need to check with your dns hoster [ just run dns query for sub.example.com and see where do the name servers ; who do you pay for dns? that's the entity you should talk with. you can also get some hints by using http://dns.squish.net to lookup sub.example.com ]. it's very possible that there's wildcard configuration and anything.example.com points to the same server.
  • web server vhosts configuration - you need to inspect what domain names are handle / served
share|improve this answer
    
Thanks. I'll have to check my dns server. –  Michael Ozeryansky Jun 28 '12 at 6:33

Ask the people who run your DNS for you. Most companies that do this have a web interface where they will list all the records and allow you to change them.

You will probably find that you have a wildcard set up, so that a lookup for any subdomain will end up with the IP address of your server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.