How do I get or change the server hostname on the Plesk server?
Article ID: 1793
Last Review: Apr,28 2008
APPLIES TO:
- Plesk 8.x for Linux/Unix
RESOLUTION
Server hostname on the Plesk server should be changed through Plesk CP on the 'Server'->'Server preferences' page with 'Full hostname' field. Fill the new hostname and push OK, Plesk will update it's database and all needed configuration files such as /etc/hosts, /etc/sysconfig/network, /var/qmail/control/me, etc...
Also, the current hostname can be taken from the console using the 'hostname' command, for example:
# hostname
foo.mydomain.org