How to Change Current Hostname on WHM

September 6, 2023 / cPanel & WHM

In this article, we will illustrate two different methods to change the hostname on WHM.

  1.  How to change the hostname with the help of the Terminal.
    1. Log into the terminal.
    2. Enter the following command to check your current “hostname”.
      hostname
    3. Now, enter the following  command to change your “current hostname.”
      hostname abc

      The updated hostname will be shown in the output.

  2. How to change the hostname using WHM.
    1. Log into your “WHM.”
      WHM
    2. In the search bar, type “Networking Setup” and click on the “Change Hostname.”
      Change Hostname
    3. Enter “New Hostname and click on the “Change” button.
      Change hostname
      Your current hostname will be changed.

With these two methods, you can change your hostname. For more information on WHM, visit our knowledge base section.

Spread the love