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 without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

cpanel change main domain - whm change server name - hostname cpanel - cpanel change hostname - cpanel hostname - cpanel change server name - main domain cpanel - change host of my ip - change hosting from office life - change cpanel hostname - changing domain in cpanel - change system name vista - cpanel httpd change servername - how to change email host on server - vista change hostname - "change main domain" cpanel - hostname whm - how to change hostname for mailing list in cpanel - how to change domain root cpanel - How to change host domain name ? - how to add host name in vista - "how to change host" - "Cpanel main domain" - change hostname hosts - changing cpanel servers host Ip - change main share ip in cpanel server - change domain name for cpanel - cpanel change domain name - web host name - change hostname through ssh - change hostname in cPanel - how to see host name in cpanel - how to change a host name on a printer - how to change the server names in cpanel - change hostname connect ssh - como puedo cambiar el main domain desde cpanel - cpanel set hostname ssh - ipod touch change Host name - changed hostname named has failed whm - how do i find my hostname on cpanel? - changing domain locations in cpanel - change domain name from ssh root - how to set hostname cpanel - cambiar hostname con javascript - changing "server name" in cpanel with whm - changing hostname on WHM - revert hostname whm - windows xp hostname change problem - change host cpanel - cpanel switch main domain -