Knowledge Base

How to migrate an addon domain to its own cPanel account

This article describes how to migrate an existing addon domain to its own dedicated cPanel account.

Migrating an addon domain to a dedicated cPanel account

To migrate an addon domain to its own cPanel account, follow these steps:

  1. Download the addon domain's web content to your local computer using FTP.
  2. If the addon domain has any databases, back them up.
    • For information about how to back up (export) MySQL databases, please see this article.
    • For information about how to back up (export) PostgreSQL databases, please see this article.
  3. Log in to cPanel on the account that is currently hosting the addon domain.

  4. In cPanel, remove the addon domain.

    For more information about how to remove an addon domain, please see this article.

  5. Log in to WebHost Manager.

  6. In WebHost Manager, create a new cPanel account. The account's domain name should be the same as the addon domain name.

    For more information about how to create accounts in WebHost Manager, please see this article.

  7. Using FTP, upload the addon domain's web content from your local computer to the public_html directory on the new account.

    To access the new account using FTP, use the name of the server that hosts the account (which is the same server that hosted the addon domain). Additionally, use the new cPanel username and password to log in.

  8. If you backed up any databases in step 2, log in to the new account and then restore the database backups.

    • For more information about how to restore (import) a MySQL database backup, please see this article.
    • For more information about how to restore (import) a PostgreSQL database backup, please see this article.

    After you restore the database backups, you must reconfigure database connection parameters for your applications. For example, database names and usernames will be different on the new account.

  9. If there are e-mail accounts set up on the existing addon domain, you can manually transfer them to the new cPanel account.

    For more information about how to do this, please see this article (although it is intended for migrating e-mail from another hosting provider, the principles and steps are the same).

  10. Test the new site to verify that the migration was successful.