How to Move a WordPress Site from Another Host (WP Toolkit Import)

Moving a WordPress site from another host doesn't have to mean downtime or lost content. This guide shows how to migrate WordPress to your Instant Access hosting with WP Toolkit's built-in import tool, how to do it by hand if the tool can't reach your old site, and how to test everything before you switch your domain over.

Before you start

  • Keep your old hosting active until the move is finished and tested. Don't cancel it yet.
  • YInstant Access Internet Services hosting plan includes one website/domain. The WordPress site you move in should use the domain your account was set up with.
  • Have your old host's login details ready: the FTP or SSH username and password, or access to the old WordPress admin.
  • Make a backup of the site at your old host first, just in case.
  • If your domain name will also move here, don't change nameservers yet. That comes last.

Option 1: Migrate WordPress with WP Toolkit

WP Toolkit can copy a WordPress site from another server straight into your account: files, database and settings. It connects to the old host for you, so you don't have to download and upload anything yourself.

  1. Log in to cPanel and go to Domains > WordPress Management (WP Toolkit).
  2. At the top of the site list, click the migration button. Depending on the WP Toolkit version it is labeled Migrate or Import.
  3. Enter the address of the site you are moving (for example example.com) and pick your domain here as the destination.
  4. Follow the on-screen steps to connect WP Toolkit to the old site. It asks for the access it needs -- usually the FTP or SSH login details from your old host. It then finds the WordPress installation; confirm the folder if it asks.
  5. Start the migration and wait. Large sites can take a while. You can leave the page open; WP Toolkit shows progress and tells you when it is done.
  6. When it finishes, the site appears in your WP Toolkit list with its own database here, ready to test.

If the migration fails because the old host blocks the connection or times out, use Option 2 below or open a ticket.

Option 2: Move WordPress by hand

  1. Copy the files. Download everything in your WordPress folder at the old host (the one with wp-config.php, wp-content and so on), ideally as a ZIP. Upload it to your public_html folder here with File Manager and extract it.
  2. Export the database from the old host with its phpMyAdmin (or your old host's backup tool) as a .sql file.
  3. Create a new database and user in cPanel, give the user ALL PRIVILEGES, then import the .sql file with phpMyAdmin.
  4. Update wp-config.php. Open public_html/wp-config.php in File Manager and change DB_NAME, DB_USER and DB_PASSWORD to the new database details. Leave DB_HOST as localhost.
  5. Add the site to WP Toolkit. In Domains > WordPress Management (WP Toolkit), click Scan. WP Toolkit finds the WordPress installation and adds it to your list so you get updates, backups and security tools.

Test before you switch the domain

Until your domain points here, visitors still see the old host. To preview the new copy, you can temporarily edit the hosts file on your computer so example.com goes to our server's IP address (ask us for it in a ticket if you don't know it). Check the home page, a few posts, contact forms, and log in to WordPress admin. Remove the hosts file line when you're done.

Point your domain to your new hosting

  1. Change your domain's nameservers at your registrar to ours (see the nameservers guide below), or update the A record if your DNS is managed elsewhere.
  2. Wait for DNS to update. This usually takes a few hours but can take up to 24-48 hours.
  3. Once the domain points here, AutoSSL issues a free SSL certificate automatically.
  4. Avoid making changes on the old site during the switch, since they won't carry over.
  5. Keep the old hosting for a week or so, then cancel it.

Troubleshooting

"Error establishing a database connection" after the move

The database name, user or password in wp-config.php doesn't match the database here, or the user wasn't added to the database. See the guide below.

Links or images still point to the old address

If you also changed the domain name during the move, the old address is still stored in the database. Open a ticket and we can help you update it safely.

Email stopped working after changing nameservers

Moving nameservers moves email too. Create your email accounts in cPanel before you switch, and move old messages with the email migration guide.

Related guides

Still stuck? Open a support ticket and the Instant Access Internet Services team will help.

Ultrafast LiteSpeed hosting from InstantAccess.net: free SSL, free backups, cPanel included, no contracts. Check out our $10/month hosting.
  • migrate wordpress to new host, move wordpress site, wp toolkit import, wordpress migration cpanel, transfer wordpress website, wordpress hosting transfer
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create a WordPress Staging Site and Push It Live

A staging site is a private copy of your WordPress website where you can test new plugins, theme...

How to Install WordPress with WP Toolkit in cPanel

WP Toolkit lets you install WordPress on your hosting account in a couple of minutes, with no...

How to Log In to WordPress Admin from WP Toolkit

You don't need to remember your WordPress password to get into your site. WP Toolkit in cPanel...

How to Update WordPress, Plugins and Themes (and Turn On Auto-Updates)

Keeping WordPress up to date is the single best thing you can do to keep your site safe. This...

How to Secure WordPress with WP Toolkit Security Hardening

WP Toolkit includes a set of one-click security measures that close the most common holes hackers...