Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a VPS with Ubuntu 11.10 installed which hosts several sites. The DNS is configured under the name of company which I purchased it. For example:

ns1.company.com
ns2.company.com

I would like of to have custom name servers for my site on this VPS, such as ns1.mysite.com, etc. How do I do this? Thank you!

share|improve this question
    
What are you actually trying to do? Are you trying to run your own nameservers? Are you trying to control how your server resolves names? Or are you trying to control how others resolve your domain? –  David Schwartz May 1 '12 at 9:39
add comment

closed as not a real question by David Schwartz, Nifle, Sathya May 7 '12 at 5:00

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

You need to do two things

  • Configure Bind (or other DNS software) to be authoritative for your domain (zone)
  • Get your registrar to delegate authority to your name server

Then you also should get secondary DNS service.

Some registrars offers DNS service

share|improve this answer
1  
He wants to configure his server's DNS, not his domain's DNS. –  David Schwartz May 1 '12 at 6:29
1  
I think he wants to be able to tell people "Goto to my website www.mycompany.com!" –  fstx May 1 '12 at 6:57
    
@DavidSchwartz: Well he doesn't want to alter his server's DNS client settings, but his domain's registered nameserver details, using an alias. He needs to edit his domain DNS, doesn't he? –  paradroid May 1 '12 at 7:05
    
As I read his question, he wants to use his own nameservers on his own server. I don't see anything that suggests any domain's registered nameserver details are involved. –  David Schwartz May 1 '12 at 7:11
    
if it's unclear what the quesion is about: ask OP in the comments to the question. –  akira May 1 '12 at 8:06
add comment

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