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
  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

CSF – How to limit the number of connections per IP address ?

In the ConfigServer Security & Firewall (CSF) configuration file, update the CT_LIMIT value...

List all IP addresses connected to your Server

Below is an Unix command to list all the IP addresses connected to your server on port 80....

How to Reduce High Memory Usage by Apache / HTTPD on a cPanel Server ?

If Apache / HTTPS is using lots of memory on your server, here is how you can optimize Apache on...

How to Re-Install cPanel/WHM and DirectAdmin?

To Re-Install cPanel: 1. Reformat your VPS (rebuild) 2. You need to ensure that yum is installed....

How to Register Name Servers?

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