How to Migrate Your Website to cPanel Hosting

  • December 29, 2024
  • 0 Comments

Migrating your website to a cPanel hosting environment is simple if you follow these basic steps. Keep your existing hosting active until the DNS has fully propagated to avoid downtime.

Back Up Your Website Files

  1. Access Your Current Hosting: Use an FTP client (like FileZilla) or your hosting control panel to download all your website files.
  2. Save Your Files Locally: Keep a backup on your computer for safety.

Export Your Database

  1. Log in to your current hosting control panel.
  2. Open phpMyAdmin and select your website's database.
  3. Click Export to save the database as a .sql file.

Set Up Your New cPanel Hosting

  1. Log in to cPanel: Access your new hosting account’s cPanel dashboard.
  2. Upload Files: Use the File Manager or FTP to upload your website files to the public_html directory.
  3. Import Your Database:
    • Open phpMyAdmin in cPanel.
    • Create a new database and user in MySQL Databases.
    • Import your .sql file into the new database.
  4. Update configuration files (e.g., wp-config.php) with the new database credentials.

Update Your Domain’s DNS

  1. Log in to your domain registrar.
  2. Update your domain’s nameservers to those provided by your new host.
  3. Allow 24–48 hours for DNS propagation.

Test Your Website

  1. Use the temporary URL provided by your host to test your website.
  2. Confirm everything works, including pages, forms, and database connections.

Pro Tip: Keep Your Old Hosting Active

Leave your current hosting account active until:

  • The migration is complete.
  • The DNS changes have fully propagated (up to 48 hours). This ensures no interruptions in your website's availability.

Need Help?

Let us handle the migration for you! Our Website Migration Service will take care of everything, including files, databases, and DNS updates. Contact us today to get started!

How helpful was this article to you?

Posting has been disabled.