This question already has an answer here:

It's thought that for the hostname should be used FQDN. I have a doubts about whether using:




for the hostname is the same thing and will be equally correct / acceptable?

I'm willing to use domain.ltd for the hostname.

Is it alright?

marked as duplicate by MDMarra, Joel E Salas, Ward, ewwhite, Scott Pack May 18 '13 at 19:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


man hostname

You can't change the FQDN (as returned by hostname --fqdn) or the DNS domain name (as returned by dnsdomainname) with this command. The FQDN of the system is the name that the resolver(3) returns for the host name.


There is no "standard" rule for your hostname. It depends on many things, like your enviroment (domain or stand alone), your software(like zimbra requires host must have FQDN)...

Feel free to chose hostname, make it something meaning for you.

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