Here, in this tutorial, we will discuss the procedure to move primary domain to a different cPanel as an add-on domain without losing data.
This involves the following.
- Create Backup of Primary Domain
- Create Add-on Domain on new cPanel
- Restore primary domain data to add-on domain
Let us go through each step one by one.
#1. Create Backup of Primary Domain
First, you have to create backup of your Primary domain which you want to move to different cPanel account. To create the backup follow the below mentioned steps.
*You need to follow the same procedure to download MySQL backup of your website.
You have successfully downloaded the Backup of your primary domain.
#2. Create Add-on Domain on New cPanel
After having the backup file of your primary domain. You have to create that primary domain as an add-on domain to different cPanel account. *(Before adding primary domain as an add-on domain, update the nameservers of primary domain if you’are moving it to cPanel on different server) Follow the steps to do the same.
Now, you have successfully add your primary domain to different cPanel account as an addon domain.
#3. Restore Primary Domain data to Add-on Domain
The final step to move your primary domain to new cPanel account as an add-on domain is to restore all the data to new server. This will include the following.
- Restoration of Files & Directories
- Restoration of MySQL database
#1. Restoration of Files & Directories
#2. Restoration of MySQL database
After restoring files and directories it is required to restore MySQL database as well. Below mentioned procedure will explain to do the same.
Now, visit your add-on domain URL to verify the changes. You may face an issue called “Error Establishing database connection”. This can be fixed by updating database details inside MySQL database section. You can read the tutorial on the same.
You will now use the primary cPanel account as an add-on domain on different cPanel account.
That’s It !
Hope the article better describes the procedure to move primary domain to different cPanel as an add-on domain. Do share it with your colleagues if you find it working. Also share your suggestions and drop your queries to start the discussion on the related topic. Lets connect on social media with the below links.
Facebook Page: https://facebook.com/redserverhost Twitter Page: https://twitter.com/redserverhost.com