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
Log in to WHM.
Navigate to Account Information > Change Domain.
Select the cPanel account from the list.
Enter the new primary domain in the New Primary Domain field.
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.
