View Full Version : HOW TO: Change the hostname and not get cpanels licence error

05-19-2008, 09:03 AM
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

01-29-2014, 02:57 AM
It was nice post thanks for sharing