How do I change my cPanel hostname via SSH?

The process for changing your cPanel hostname is quite easy and can actually be accomplished within a few minutes or less within Linux. Please follow the aforementioned step-by-step directions outlined below:

  • Login to your cPanel/WHM server via SSH
  • Next, please run the following command within Linux:

    hostname && /usr/local/cpanel/cpkeyclt

  • Please adjust the values outlined in BOLD to their actual values

Should you have any further questions pertaining to your cPanel license, please feel free to get in contact with the LicenseCube support team for additional assistance and/or guidance.

Posted : LicenseCube Support - Tue, May 15, 2012. This article has been viewed 0 times.
Online URL: