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).
Ubuntu – May I set multiple names in /etc/hostname
domain-name-systemhostnameUbuntu
Related Topic
- Linux – On Ubuntu 10.04, should /etc/hostname contain the server’s FQDN
- Hostname vs FQDN – Difference Between Hostname and Fully Qualified Domain Name
- Setting the Hostname: FQDN or Short Name?
- How to set hostname if hosting multiple servers on the same machine
- Vps – Checking if the hostname is correct (ovh vps + centos7)
Best Answer
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.