Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently I have a shared webhosting account with unlimited domain and a different registrar. Each time I want to add a domain, I would change my domain dns name server.

But since my registrar also offer the dns name service, could I just keep its dns name server and use A record and CName even if my server is not a dedicated server ? If yes what should I put in A and CName ?

share|improve this question
Please explain better. What is your "domain dns name server" ? the one coming with your webhosting ? And no, setting up a third-party A/CName alone will not be enough, the webserver must be aware of the domains it has to serve if it is shared. – b0fh Jul 20 '10 at 18:26
The only problem you gona have is that if your company change your server ip for any reason without notifying you, your site may go down until you figure that out and update your DNS. – Prix Aug 9 '10 at 20:03

So, you have hosting provided by Company A, but you register your domains with Company B? You want to use Company B's nameservers rather than Company A's? DNS resolves names in a hierarchial fashion. As long other nameservers can follow the logical path your records will resolve. has an A record pointing to your web hosting server's IP address. As long as .com TLD has delegated authority to Company B's name servers for you can hold the A record for "www" there. Even with shared hosting, the server daemon sees the domain name in the request and will serve the correct content to the visitor's browser.

share|improve this answer

Your Answer


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.