Changing Server Hostname

To change your hostname, enter the following command as root:

$ hostname servername.yourdomain.com

If you are using cPanel, you will need to resync your license with the cPanel license server.  To do this, use the following command:

$ /usr/local/cpanel/cpkeyclt

You can also edit the hostname through the "Hostname" section of your SolusVM control panel.

Was this answer helpful? 33 Users Found This Useful (53 Votes)