To convert an existing addon domain on one cPanel to separate  cPanel account

i. Download the files associated with the addon domain to your local computer.

  1. Login to the cpanel associated with the account
  2. click on addon domain icon. 
  3. Find the document root of the addon domain.  You can see it in the same window as shown below:

4. Login to filemanager and go to the documentroot.
5. If you need to download that directory you have to convert it to a zip file and download.

6.  Highlight that directory  clicking on it and click on compress as shown below:

7. The location to store the file will be already mentioned in the dialog box as "username/public_html" and you can mention the name as addondomain.zip.
and click on compress.

8.  Once it is compressed the file will be placed in the above mentioned location(username/public_html).

9. Go to file manager and navigate to the above location.  Once you have identified the file, highlight it by clicking on it and click on download.

ii. Backup the databases associated with domain using phpMyAdmin and export it to your local computer.

  1. Login to cPanel.
  2. There will be an icon for phpMyAdmin in the Databases section.  This will take you to phpMyAdmin. 
  3. The list of available databases will be listed on the left hand side once you get into phpMyAdmin.
  4. Click on an existing database in phpMyAdmin.
  5. Click Export at the top.

6. Leave the settings as they are, click the "Save as file" checkbox and click Go.

7. This will download a .sql file to your computer.

iii. Go to the cpanel account and remove the addon domain. 

  1. Login to the cPanel

    2. Check that if the addon domain is also set as a subdomain.
    3. Go to Domains, click on the Subdomains icon. If you can see your addon domain listed listed, go ahead and remove it.
    4. Click on Addon Domains icon and find the addon domain that you wish to remove, go to the Actions column and then click on Remove.
iv. Once removed, Go to your WHM and create a separate cpanel account using the name of the addon domain.(cpanel only account holders have to contact us via ticket to create new cpanel account for you with the addon domain)
v.  Once the account setup is finished, upload the files associated with the adddon domain to the document root "public_html" of the newly created domain.
vi. Now we need to create a database, username and password for the newly created cpanel account and restore the database  with the database backup of the addon domain.

You can use PHPMyAdmin to import the downloaded database to the new ly created database.

  1. Login to cPanel associated with the newly created domain 
  2. There will be an icon for phpMyAdmin in the Databases section.  This will take you to phpMyAdmin. 
  3. The list of available databases will be listed on the left hand side once you get into phpMyAdmin.
  4. Click on on newly created  database in phpMyAdmin.
  5. Click Import at the top. Browse for the .sql (backup which we have downloaded using phpMyAdmin) file on your computer and click Go

vii. Update new database credentials in the configuration file of the newly created domain's document root.

You are ready to go !!

Did this answer your question?