Migrating a website from one cPanel account to another can be done manually by following these steps:
-
Backup Files: First, you will need to create a backup of all the website files on the old cPanel account. To do this, go to the File Manager in the old cPanel account, select all the files and folders, and compress them into a single archive. Then download this archive to your local computer.
-
Backup Database: If your website uses a database, you will need to export it as well. Go to the phpMyAdmin in the old cPanel account, select the database, and export it as a SQL file. Download this file to your local computer.
-
Create a New cPanel Account: Next, you will need to create a new cPanel account on the new hosting provider.
-
Upload Files: Once you have created a new cPanel account, you will need to upload the backup file you created earlier to the new cPanel account. You can do this using the File Manager in the new cPanel account or by using an FTP client.
-
Create a New Database: If your website uses a database, you will need to create a new database in the new cPanel account. Go to the MySQL Databases in the new cPanel account, create a new database, and add a new database user with full privileges.
-
Import Database: Once you have created a new database, you will need to import the SQL file you exported earlier. Go to phpMyAdmin in the new cPanel account, select the new database, and import the SQL file.
-
Update Configuration: Finally, you will need to update the configuration file of your website to point to the new database. This file is usually located in the root directory of your website and is called something like wp-config.php, configuration.php, or config.php. Open this file in a text editor and update the database name, username, and password to match the new database you created.
Once you have completed all these steps, your website should be migrated to the new cPanel account. You can test your website to make sure everything is working correctly.