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

My server is meant to have one name in the datacenter ISP's domain and another in our company domain. How do I set this up correctly? Can I set multiple names in /etc/hostname? (The OS is Ubuntu 10.04 Serer).

share|improve this question
up vote 13 down vote accepted

A server can only have one hostname listed in /etc/hostname. I would list your company's preferred name there. You can, however, point as many different DNS records at the server as you want, either via your /etc/hosts or via your company's DNS server infrastructure.

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.