How to change 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

  • 33 Users Found This Useful
Was this answer helpful?

Related Articles

How to set up PTR record?

Setting up Reverse DNS Records   1. Login to Bacloud client area. Input the bacloud.com  in...

How login to VPS Management Panel?

Accessing VPS Management Panel   1. Login to Bacloud client area. Input the bacloud.com  in...

What is PTR records and where they are using?

What is PTR record? A PTR (pointer) record maps an IP address to the domain name. It’s often...

How to connect to Windows server via RDP (Remote Desktop Protocol)

How to connect to Windows server via RDP (Remote Desktop Protocol) The procedure is not that...

How Do I Enable Remote Desktop on Windows Server?

Remote Desktop, by default, is disabled in Windows Server 2019. To enable this feature, you need...