This guide explains how to manually migrate a WordPress website from one hosting server to another using cPanel.
Before You Start
Make sure you have:
-
Source hosting cPanel access
-
Destination hosting cPanel access
-
WordPress database name, username & password
-
File Manager or FTP access
Part 1: Backup from Old Hosting
Step 1: Download Website Files
-
Login to Source cPanel.
-
Go to File Manager.
-
Open the WordPress installation directory (usually
public_html). -
Select all files and folders.
-
Click Compress → Choose ZIP Archive.
-
Download the ZIP file to your local computer.
Step 2: Export the Database
-
In cPanel, open phpMyAdmin.
-
Select the WordPress database from the left panel.
-
Click Export.
-
Choose Quick → Format: SQL.
-
Click Go to download the
.sqlfile.
Part 2: Upload to New Hosting
Step 3: Upload Website Files
-
Login to Destination cPanel.
-
Open File Manager.
-
Go to the target directory (usually
public_html). -
Click Upload and upload the ZIP file.
-
After upload, select the ZIP file.
-
Click Extract.
Step 4: Create New Database
-
Go to MySQL® Databases in cPanel.
-
Create a New Database.
-
Create a New Database User.
-
Add the user to the database.
-
Grant All Privileges.
Note down:
Database Name
Database Username
Database Password
Step 5: Import Database
-
Open phpMyAdmin in the new hosting.
-
Select the newly created database.
-
Click Import.
-
Choose the
.sqlfile. -
Click Go.
Part 3: Update Configuration
Step 6: Update wp-config.php
-
Open
public_html. -
Edit the file:
wp-config.php. -
Update the following:
-
Save changes.
Part 4: Update Domain (If Domain Changed)
If the domain name has changed:
-
Go to phpMyAdmin.
-
Open table:
wp_options. -
Update:
-
siteurl -
home
-
-
Replace old domain with new domain.
Alternatively, you can use SQL query:
Final Checklist
-
Website loads properly
-
Admin login works
-
Images are displaying
-
Permalinks are working (Resave Permalinks if needed)
-
SSL is installed