1. Knowledge Base
  2. >
  3. Results
  4. >
  5. How to Change WHM Password

How to Change WHM Password

This article discusses how to update or reset your WHM password. If you have lost or forgotten your WHM password or if you just wish to change it, you can do so by following the instructions below:

How to Reset Root WHM (rWHM) Password for VPS and Dedicated Hosting

Here is your guide to resetting your root WHM (rWHM) password for your VPS or Dedicated hosting.

Oops! Before you proceed. Let us identify first if you are a KVM or Legacy VPS/Dedicated hosting customer.
  • KVM ( Kernel-based Virtual Machine)VPS/ Dedicated hosting
    • These are the VPS accounts purchased after April 13, 2021 (VPS) and Dedicated hosting purchased after November 2020.
    • Your Plan ID begins with VH for VPS and DH for Dedicated hosting. 
  • Legacy VPS/ Dedicated Hosting
    • These are the  VPS accounts purchased before April 13, 2021 (VPS) and Dedicated hosting purchased before November 2020.
    • Your Plan ID begins with VPS for VPS and DC for Dedicated hosting.
What Is Your Plan ID? Click Here To Know How To Find Out
  1. Log in to the Customer Portal.
  2. Navigate to the Hosting tab.

    HostGator Customer Portal Hosting Tab

  3. Click on Manage underneath the primary domain of the hosting plan.

    Manage Package

  4. On the top-left side, you will find the Plan ID below your domain name.

    Plan ID

Depending on whether you're a KVM or Legacy VPS/Dedi hosting customer, please click the links below to see applicable instructions for resetting your root WHM (rWHM) password.

KVM VPS/Dedicated Hosting

You can reset your root password via the Customer Portal. Please follow the steps below:

  1. Log in to the Customer Portal. 
  2. Navigate to the Hosting Tab. 

    HostGator Customer Portal Hosting Tab

  3. Click on Manage underneath the primary domain of the hosting plan.

    Manage Package

  4. Click on the Reset Root Password button on the right side of the Server Info & Settings page.

    Reset Root Password Button

  5. Enter your new password in the Root Password box.

    Reset Root Password Page

  6. Then, click on the Change Root Password button to finalize the change. 

Legacy VPS/ Dedicated Hosting

  1. Log in to WHM
  2. Search for Root Password in the search pane.

  3. From the Server Configuration section, click Change Root Password.

    WHM - Change Root Password

  4. Enter your new password in the New root Password field.

    change root password field

  5. Click Change Password after confirming your password in the Confirm Password field.

How to Reset WHM Password for Resellers

For Reseller hosting, the WHM username and password are the same as the primary cPanel account for the hosting package.

There are various methods for resetting the primary cPanel/WHM for Resellers. Click the links below for the instructions.

Method 1: Via Customer Portal

Password reset can be done here if you have forgotten the old WHM /cPanel password.

  1. Log in to Customer Portal.
  2. Click Hosting from the left menu.

    Hostgator Customer Portal - Hosting Tab

  3. Locate your Reseller package from the list, then click its Manage link.
  4. In the Settings tab, click the Reset Password button.

    Reset Password Button

  5. Create your password, or you can click on the Generate a New Password tab to generate a new one.

    Customer Portal - Create Password

  6. Once done confirming your password, click Change Password.
  7. A confirmation prompt will appear on top, notifying you of the successful update.

You can now log in to the cPanel using your new password!

Method 2: Via cPanel Directly

This method would require your old primary cPanel/WHM password. If you don't have your old cPanel/WHM password, please refer to the steps of Method 1 or Method 3.

Want to reset the cPanel password of your Shared or Cloud hosting? To find out how, please visit the article: How to Reset Your cPanel Password?

To change the cPanel/WHM password via cPanel:

  1. Log in to WHM.
  2. Search and click List Accounts from the left-side menu.

    WHM - List Accounts

  3. Locate your Reseller's primary cPanel account. This is usually the main domain of your Reseller hosting. You will also notice that its username is the one listed in your Customer Portal and Welcome email.
  4. Click the cPanel icon beside your Reseller's primary domain.

    Reseller's cPanel icon

  5. In the Preferences section of cPanel, click the Password & Security icon.

    Reseller cPanel - Password & Security

  6. In the Old Password box, provide your old cPanel/WHM password.
    Reseller - Change Password
  7. In the New Password box, enter the new password. This password should contain uppercase and lowercase letters, as well as numbers and non-numeric symbols. (example. aB3#$f^&G*1)

  8. If the option is available, check the box for Synchronize MySQL password.

    Note: This synchronizes your password so that you are able to log into phpMyAdmin via cPanel. This is sunset and may not be available on  all servers.
  9. Once you confirm your password in the New Password (Again) box, click the Change your password now! button.

Your WHM password is now updated! Before you proceed, you will be prompted to log back into cPanel.

Method 3: Via WHM

If you no longer remember your old primary cPanel/WHM password, no worries! Here is another way of changing your WHM password for your Reseller hosting. 

  1. Log in to WHM.
  2. Using the search pane on the left-hand side, search for List Accounts.
  3. Select List Accounts.

    WHM - Search List Accounts

  4. On the right-hand side, locate your primary cPanel account. You will find its username in your Customer Portal or Welcome email, and it is usually the primary domain of the Reseller hosting.
  5. Click the + icon beside the cPanel's domain.

    WHM - cPanel + icon

  6. In the Change Password field, enter your preferred cPanel password.

    WHM - Change Password Field

  7. Click the Change button.
  8. A confirmation page will appear, notifying you of the password update.

    You may now try logging into your WHM using the new password!

Need additional assistance? Please contact us via phone or Live Chat so we can assist! HostGator's Support is here to help.