How to Migrate a WordPress Site to Veerhost (Files + Database)

Estimated reading: 3 minutes

Migrating your WordPress website to VeerHost involves transferring your website files, importing your MySQL database, and updating your WordPress configuration.

This guide walks you through the complete migration process to help you move your website with minimal downtime.

Before You Begin

Before starting the migration, ensure you have:

  • An active VeerHost hosting account.
  • Your website files from your previous hosting provider.
  • A MySQL database backup (.sql file).
  • Access to your previous hosting account or backup files.
  • Access to cPanel on your VeerHost hosting account.

Step 1: Download Your Website Files

Download all website files from your current hosting provider.

The most important folder is usually:

public_html

You can download your files using:

  • File Manager
  • FTP (FileZilla or another FTP client)
  • SSH (if available)

Ensure all WordPress files are included, especially:

  • wp-admin
  • wp-content
  • wp-includes
  • wp-config.php

Step 2: Upload Your Website Files

Log in to your VeerHost cPanel account.

Open File Manager and navigate to:

public_html

Upload your website files.

If your website is compressed as a ZIP archive:

  1. Upload the ZIP file.
  2. Select it in File Manager.
  3. Click Extract.

Verify that all WordPress files are located directly inside the correct directory.

Step 3: Create a MySQL Database

Before importing your database, create a new database in cPanel.

Open MySQL® Databases and:

  1. Create a new database.
  2. Create a database user.
  3. Assign the user to the database.
  4. Grant All Privileges.

Save the following information:

  • Database Name
  • Database Username
  • Database Password
  • Database Host

For most hosting accounts, the database host is:

localhost

Step 4: Import Your Database

Open phpMyAdmin from cPanel.

  1. Select the newly created database.
  2. Click the Import tab.
  3. Choose your .sql backup file.
  4. Click Import.

Wait until the import process completes successfully.

Step 5: Update the wp-config.php File

Using File Manager, open the wp-config.php file located in your WordPress installation.

Update the following values so they match your new database:

  • DB_NAME
  • DB_USER
  • DB_PASSWORD
  • DB_HOST

Save the file after making any changes.

Step 6: Point Your Domain to VeerHost

If your domain is still pointing to your previous hosting provider, update your DNS settings.

You can either:

  • Point your domain using DNS A records.
  • Update your domain’s nameservers to VeerHost (if applicable).

Allow time for DNS propagation after making the changes.

Step 7: Update Website URLs (If Required)

If your website has been moved to a different domain, subdomain, or directory, update the WordPress site URLs stored in the database.

This can be done using:

  • A WordPress search and replace plugin.
  • A database search and replace tool.
  • SQL queries executed through phpMyAdmin.

Updating the URLs helps prevent broken links, redirect loops, and missing images.

Step 8: Verify the Website

Once the migration is complete:

  • Visit your website.
  • Log in to the WordPress dashboard.
  • Check that pages and posts load correctly.
  • Verify images and media files.
  • Test contact forms.
  • Confirm that plugins and themes are functioning normally.

Troubleshooting

If your website does not load correctly after migration:

  • Verify the database credentials in wp-config.php.
  • Confirm the database imported successfully.
  • Check that your domain is pointing to the correct server.
  • Ensure all website files were uploaded.
  • Update the WordPress site URLs if the domain has changed.
  • Clear your browser cache and test again.

Notes

  • Always create a complete backup before migrating your website.
  • Migrate both your website files and database to ensure a complete transfer.
  • If your website uses email accounts, migrate or recreate them separately, as email data is not included in a standard WordPress migration.
  • Large websites may take longer to upload and import depending on their size.
Launchpad