From Fedora Project Wiki

Revision as of 07:05, 20 May 2015 by Gerd (talk | contribs)

How to change the hostname

With Fedora 18 the hostname is stored in the file /etc/hostname. The commands hostname and hostnamectl may be used to print or set the system hostname. On Fedora the system hostname is specified as a fully qualified domain name (FQDN).

hostnamectl set-hostname myhost.mydomain