How to Change Hostname in cPanel Web Host

For web host using cPanel as server’s control panel, changing hostname of the server supposedly to be an easy task. WebHost Manager (WHM) component of cPanel has a tool which allows webmaster to easily change host name. However, using this WHM web-based GUI tool to change hostname always has side effects or problems, such as failed to change the hostname, hostname reverted to original host name after reboot, or invalid cPanel license file error.

cPanel 11 WHM will most likely solve all these errors, however, if you still facing problem, try the following steps to change hostname properly:

  1. Login to server via SSH as root.
  2. Run the following command to change host name:

    hostname servername.domain.com

    Change servername.domain.com to a hostname you desired based on your domain name.

  3. Run the following command to update cPanel license information to avoid invalid cPanel license error:

    /usr/local/cpanel/cpkeyclt

Share and contribute or get technical support and help at My Digital Life Forums.



Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

cpanel change main domain - cpanel hostname - cpanel change domain - change main domain cpanel - cpanel change hostname - hostname cpanel - change hostname whm - whm change hostname - change cpanel hostname - change hostname in cPanel - main domain cpanel - whm change server name - change domain name cpanel - ssh change hostname - change hostname cpanel - change hostname ssh - hostname whm - how to change hostname - whm change domain name - change hostname in ssh - cpanel change main IP - changing cpanel hostname - Host name VISTA - whm hostname change - changing hostname in cpanel - vista change hostname - cpanel change domain name - cpanel change server name - change host of my ip - change hostname Vista - update hostname whm - changing hostname vista - how to change hostname ssh - cpanel hostname? - how to change HOSTname vista - change cpanel main IP - change main domain on cpanel - get hostname from cpanel - changing hostname in whm - cpanel change domain root - cpanel change name server - how to change hostname in whm - ssh change host - host name change vista - how to get the hostname in cpanel - change hosting from office life - changing domain in cpanel - change system name vista - cpanel httpd change servername - how to change email host on server -