Cancel
Start searching
This search is based on elasticsearch and can look through several thousand pages in miliseconds.
Learn moreFirst of all: Settinga system’shostname to a domain that is used on the system—for example, as a website—can cause problems with sending email. Therefore, we recommend keeping the default generic hostname.
As root, the following command changes the hostname:
hostname <new hostname>
To make a permanent change, edit the file /etc/rc.conf.d/hostname and add the following line:
hostname="new.host.name"