Mar
22

HOW TO: Change the Hostname and Not Get Cpanels Licence Error

I have found over the years that it is anoying when you update the hostname on a server running cpanel and cpanel gives you an invalid licence error, if you want to change the hostname on a cpanel server then

  • 1) log into shell with root
  • 2) type “hostname (then at the end put anything you want as your hostname, but it must be something.yourdomain.xxx please be aware that the something will show as the server name in cpanel
  • 3) type /usr/local/cpanel/cpkeyclt

Then just load cpanel as you would normaly, but dont forget to add an a entry for the new hostname.

You Can also Read: How To: Install and Configure a GUI on your Linux VPS

Reliable & Cheap Hosting

Leave a Reply