Skip to main content

How to Change a cPanel Account's Primary Domain in WHM

Change the primary domain of a cPanel account to update the main domain associated with the account's resources and identity. This task is performed by a Server Administrator within the WHM interface.

Change the primary domain of a cPanel account to update the main domain associated with the account's resources and identity. This task is performed by a Server Administrator within the WHM interface.

Before you begin

You will need:

  • Server Administrator access to WHM

  • The current cPanel account name

  • The new primary domain name

Change the Primary Domain

  1. Log in to WHM.

  2. Navigate to Account Information > Change Domain.

  3. Select the cPanel account from the list.

  4. Enter the new primary domain in the New Primary Domain field.

  5. Select Change to apply the update.

Warning: Changing the primary domain will update the primary domain for the account. This may affect how the account is identified in your records and may impact certain automated scripts or integrations that rely on the original primary domain name.

Confirm the result

  • The account will now display the new primary domain in the WHM account list.

  • The primary domain will be updated in the cPanel account's configuration.

Limitations

This procedure only changes the primary domain identifier for the account. It does not automatically change the DNS records, email configurations, or the content of the website. You must manually update any external records or internal configurations that rely on the original domain name.

Did this answer your question?