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

Was this answer helpful?

 Print this Article

Also Read

cPanel: Unactive License File

cPanel may spit out a "Unactive License File" error when new IP addresses or added or when your...

How do I manage my VPS?

VPS hosting accounts come with three control panels. Virtuozzo Power Panel (VZPP), WebHost...

What are the advantages of a VPS ?

VPS gives you the functions and features and of a managed dedicated server but without the price....

Why is my VPS constantly crashing?

There are several causes to why you may not be able to access your VPS.  Some users often...

How to Register Name Servers

There are many registars in the world with different panels, however we have provided a...