Before changing the primary domain of a hosting account, ensure the following:
-
New Domain Should Not Already Exist as an Addon Domain
-
The domain you plan to use as the new primary must not be added as an addon domain in the account.
-
If it already exists as an addon domain, you need to remove it first.
-
For guidance, please refer: https://portal.prabhuhost.com/knowledgebase/34/Step-by-Step-Guide-to-Create-and-Remove-an-Addon-Domain-with-Prabhu-Host-cPanel.html
-
-
DNS / Name Server Updates
-
Update the new domain’s NS or DNS records to point to the hosting server before making the primary domain change.
-
-
Data Replacement Considerations
-
If you are changing the primary domain without replacing website data, you must:
-
Edit hardcoded domain references in files or environment variables.
-
Update database entries where the old domain is used.
-
-
-
Internal Ticket Opening
-
After confirming all prerequisites, open a ticket in the internal system to request the primary domain change.
- This ensures the change is properly tracked and approved before any action is taken.
-
-
Backups
-
Even if data isn’t being replaced, take a backup of files and databases before proceeding.
-