How to Upload a WordPress Website to a New cPanel Host

This guide shows you how to move your WordPress website from an old cPanel host to a new one.


1. Prepare Your Old Site Files

  • Log in to the old cPanel.

  • Locate the directory of your WordPress site (usually public_html or a subdirectory).

  • Compress all files in the site directory (e.g., as a .zip).

  • Download the compressed file to your local computer.


2. Prepare Your New Site Folder

  • Log in to the new cPanel.

  • Create a new folder for your WordPress site (usually under public_html for the domain).

  • Upload the compressed file to this new folder.

  • Extract the files in the new folder.


3. Migrate the Database

  • Export the database from your old host (usually via phpMyAdmin).

  • In the new host, create a new database and database user in cPanel.

  • Import the exported database into the new database using phpMyAdmin.

  • Update the wp-config.php file in your WordPress files to reflect the new database name, user, and password.


4. Verify Your Site

  • Check that your WordPress site loads correctly on the new host.

  • Test pages, posts, and plugins to ensure everything works as expected.


Your WordPress website is now successfully migrated to your new cPanel host.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install Python Django in cPanel

This guide shows you how to set up a Python application, such as Django, on your cPanel account....

How to Add a DNS TXT Record to a Domain

TXT records are often used to verify your domain with services like Google, Microsoft 365, or to...

How to Host a Domain on a VPS Service

This guide shows you how to point your domain to a VPS server. Note: This process does not move...

How to Force https Redirects on all http Requests on a Website

How to Force HTTPS Redirects on Your Website Forcing HTTPS ensures that visitors always access...

Powered by WHMCompleteSolution