How do I change the host name of my proServer?

First of all: Setting the host name of a system to a domain that is used on the system - for example as a website - can lead to problems when sending mail. We therefore recommend keeping the default generic hostname.

As root, the following command changes the hostname:

hostname <new hostname>

For a permanent change, edit the file /etc/rc.conf.d/hostname and add the following line:

hostname="new.host.name"