Migrate a WordPress Site to Voligen from Another Host

Updated: 4 December 20264 min read20 viewsMarkdown

A WordPress site has two parts: files (themes, plugins, uploaded images) and the database (posts, settings, users). Migrating means copying both to your new hosting account and pointing the domain there last. Follow that order and your visitors won't notice any downtime.

A file folder and a database icon carried along a dashed arc from one server to another
Files and database move to the new server; the domain is pointed there last.

Before you start

  • An active cPanel hosting account at Voligen and its login details (in the activation e-mail or under Client Area > My Services).
  • Access to the old host's control panel, or at least the WordPress admin.
  • Access to your domain's DNS settings (at the registrar or in the client area).
  • A content freeze. Posts and orders added during the move won't make it to the new server.
Note

Don't cancel your old hosting until the move is finished and you've confirmed everything works on the new site.

Method 1: with a migration plugin (easiest)

For small and medium sites a migration plugin is the quickest route. All-in-One WP Migration, Duplicator and similar plugins export the whole site as one archive.

  1. Install the plugin on the old site and use Export to download the archive.
  2. Install a blank WordPress on your Voligen account with the one-click installer (see our one-click install guide).
  3. Install the same plugin on the new site and upload the archive with Import.
  4. When the import finishes, log in with the old site's admin username and password and click Save once under Settings > Permalinks.

If the archive is bigger than the free version's upload limit, use Method 2.

Method 2: manual migration (for large sites)

  1. Grab the files. On the old host, compress the site folder (usually public_html) and download it.
  2. Export the database. In the old panel's phpMyAdmin, select the database and use Export to get a .sql file.
  3. Upload the files. In Voligen cPanel, upload the archive into public_html with File Manager and unpack it with Extract.
  4. Create a database. Under MySQL Databases create a new database and user, then add the user to the database with ALL PRIVILEGES.
  5. Import. In phpMyAdmin select the new database and upload the .sql file with Import.
  6. Update wp-config.php with the new database name, user and password:
define( 'DB_NAME', 'cpuser_wp' );
define( 'DB_USER', 'cpuser_wpuser' );
define( 'DB_PASSWORD', 'a-strong-password' );
define( 'DB_HOST', 'localhost' );
Three-step flow: take files and database from the old server, upload to the new panel, update DNS and verify the site
1. Take the backup, 2. upload it to the new account, 3. test and point DNS.

Test before changing DNS

To see the new site while the domain still points to the old server, add a temporary line to your computer's hosts file. Your server's IP address is in the service details:

203.0.113.10  example.com www.example.com

Check pages, forms, logins and images. Remove the line once you're done.

Point the domain

When everything checks out, change your domain's nameservers to the Voligen nameservers shown in your service activation e-mail or in the service details in the Client Area. Propagation can take a few hours; both servers are running in the meantime, so visitors see no gap. If your e-mail is also with the old provider, plan separately whether to move or keep the MX records.

Troubleshooting

SymptomLikely causeFix
"Error establishing a database connection"Wrong wp-config detailsCheck the database name and user include the cPanel prefix.
Home page works, inner pages return 404Missing .htaccessClick Save on the Permalinks page.
Images load from the old domainOld URL left in the databaseReplace the old URL with a plugin such as Better Search Replace.
The upload stops halfwayFile too largeSplit the archive or upload over FTP.

Frequently asked questions

Will my site go down during the move?

Not if you follow this order. Visitors see the old server until the domain is pointed, then switch to the new one.

What if the domain name is changing too?

After migrating, search and replace the old URL in the database. Use a plugin built for this or WP-CLI rather than raw SQL, so serialized data isn't corrupted.

Can you do the migration for me?

Open a support ticket from the Client Area to get help with the move. We'll advise you based on your account and how your site is built.

To open a new account, see the WordPress Hosting plans. For questions, reach us via the contact page.

Was this article helpful?
Thank you for your feedback.