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 just bought a domain mydomain.com and a vps cpanel / whm. I am wondering how could I get nameservers as ns1.mydomain.com and ns2.mydomain.com for the mydomain.com itself? Having secondary nameserver outside is the really possible way to do that?

share|improve this question

3 Answers 3

up vote 5 down vote accepted

Glue Records

share|improve this answer
    
wow, that's a confusing name and description for A records for your name servers... –  cpbills May 29 '10 at 6:32
    
ah, glue records are set by the registrar, in most cases it seems? and one would need them in their own nameserver when delegating subdomains. i've managed my own name servers before, and not run into 'glue records' which is why i was confused. –  cpbills May 29 '10 at 7:10

The name servers of your domain do not have to be within that domain. You can have ns1.example.com be a nameserver for tailspintoys.com

The nameservers can be within the domain because the root domain (.com for example) can keep glue records, keeping track of the IP of ns1.example.com, so when someone goes looking for example.com, ns1 can be found.

share|improve this answer

Name servers can usually be registered with the organization you purchased the domain through (for example, NetSol has an FAQ here, eNom has a link on their front page under 'domains | advanced tools'). Sometimes it is tucked away somewhere in the domain management utilities, but they usually offer the feature. You should check with their support pages, or contact their support team.

As somebody else mentioned, you don't have to have it registered under the same domain name that is hosting the domain.

Hope that answers the question.

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.