Migrating a website from one account to another using WHM and cPanel

Migrating a website from one account to another using WHM and cPanel

May 25, 2023

Step 1: Access WHM on the Source Server

  1. Log in to WHM on the source server where the website is currently hosted.
  2. Locate the Account:
    • Navigate to List Accounts or use the search bar in WHM to find the cPanel account you want to transfer.
    • Note the domain name, username, and any other details for reference.

Step 2: Backup the cPanel Account

  1. Log in to WHM on the source server where the website is currently hosted.
  2. Locate the Account:
    • Navigate to List Accounts or use the search bar in WHM to find the cPanel account you want to transfer.
    • Note the domain name, username, and any other details for reference.

Step 3: Access WHM on the Destination Server

  • Log in to WHM on the destination server or hosting account where you want to migrate the website.
transfer a full cPanel account in WHM

You can transfer a full cPanel account using the transfer tool.

Step 4: Use the “Transfer Tool” (Preferred Method)

  1. In WHM, search for and open Transfer Tool.
  2. Enter the IP address or hostname of the source server.
  3. Provide the root username and password for the source server.
  4. WHM will verify the connection and list all accounts available for transfer.
  5. Select the account(s) you want to transfer.
  6. Transfer Settings:
    • Ensure options such as retaining account ownership and overwriting existing accounts (if needed) are set correctly.
  7. Start the transfer and monitor the process until it completes.

Step 5: Manually Upload the Backup (If Not Using Transfer Tool)

  1. Download the Backup:
    • If a full backup was generated in cPanel earlier, download it to your computer or directly to the destination server via SSH.
  2. Upload the Backup:
    • Log in to the destination server’s WHM.
    • Go to Restore a Full Backup/cpmove File.
    • Upload the backup file or place it in the /home directory via FTP or SSH.
    • Use the Restore feature in WHM to restore the account.

Step 6: Update DNS Settings

Update the DNS settings to point to the destination server.

  • Modify the A record or name server settings for the domain at the registrar level.
  • Ensure the DNS propagates correctly (this may take up to 48 hours).

Step 7: Test the Website

  1. Access the website using its domain name or a temporary URL (if the domain DNS is still propagating).
  2. Test all functionalities to ensure that the migration was successful.

Troubleshooting Tips

  • Database Connection Errors: Check the wp-config.php (for WordPress) or similar configuration files to ensure the database details are correct.
  • Email Accounts: Migrate email accounts and settings manually if required.
  • SSL Certificates: Reissue or reinstall SSL certificates for the migrated domain if needed.

One Comment

  1. danyduchaine May 26, 2023 at 3:17 pm - Reply

    Vestibulum turpis sem, aliquet eget, lobortis pellentesque, rutrum eu, nisl. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nunc sed turpis. Vestibulum eu odio.

Leave A Comment

SitesByYogi

Hello! We are a group of skilled developers and programmers.

WordPress Hosting and Support Services

Bringing you reliable, high-performance WordPress hosting with dedicated expert support to ensure your site stays fast, secure, and running smoothly.