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


Was this answer helpful?
Also Read
How do I manage my VPS? (Views: 748)
Howto Register Name Servers (Views: 776)
What are the advantages of a VPS ? (Views: 674)
cPanel: Unactive License File (Views: 721)
How do I know what server I am on? (Views: 718)

Powered by WHMCompleteSolution