For Linux and Shell scripting.

How to change Your Server’s Hostname and Retain your cPanel License

Leave a comment

Changing your servers hostname will invalidate your cPanel license. If you want to change server hostname and need to access WHM/cPanel, then do the following:

1. SSH to the server (as the root user) and change the hostname.
2. Then run the command /usr/local/cpanel/cpkeyclt.

This will update the license file with your current hostname, and push the change to cPanel’s license verification servers and


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s