Migrating your website from another web hosting provider or between servers can be performed seamlessly using cPanel Full Backups.

1. Generate a Full Backup

  1. Log in to your source cPanel account.
  2. Navigate to Files -> Backup Wizard or Backup.
  3. Click Download a Full Account Backup. Choose Home Directory as the destination and click Generate.
  4. Once completed, download the .tar.gz archive to your local computer, or use SCP/wget to transfer it directly to your new server.

2. Restoring on the Destination Server

  • If your new server runs cPanel/WHM: Log in to WHM as root, search for Restore a Full Backup/cpmove File, select the file, and click Restore.
  • If using a standalone LAMP/LEMP VPS: Extract the archive locally, upload the files inside homedir/public_html to your web directory via SFTP, and import the .sql database dump via phpMyAdmin or MySQL CLI.

3. Update DNS

Once files and databases are tested, update your domain's 'A' record to point to your new server's IP address. Allow a few hours for DNS propagation.

Hjälpte svaret dig? 0 användare blev hjälpta av detta svar (0 Antal röster)