How do I change the hostname of my proServer?

First 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"