2017 Guide: How to Move a WordPress Site to a New Host (3 Steps)

When a freelance website client tells you they’re unhappy at their current host and asks you to help migrate their WordPress site to a new host, you’ll want to help out and not lose their business. But you’ll want to conduct the migration procedure without pulling your hair out in the process.

In this post, we’ll cover how to manage all three — broken down into three step-by-step guides. I’ll walk you through the most common situations and solutions to migrate WordPress (or any website) to a new host, domain name, or server. Ready? Here we go!

How to Move Your WordPress Site (3 Options)

First, let’s note that there are three elements to moving any website, whether it’s WordPress-based, running on another content management system, or hosted on a browser-based website builder like Wix. The three elements are the website files (i.e., your blog content, media library, themes, etc.), the host server on which they’re stored, and the domain where visitors can find your site on the web.

  1. Migrating to a New Host (Guide A)
  2. Migrating to a New Domain (Guide B)
  3. Migrating to a New Server (Guide C)

There is some overlap between the guides below, but rest assured, your WordPress website will be snuggled into its new home — whether you’re upgrading to a larger space at the same address or moving to a new neighborhood all together — by the day’s end.

A. How to Move Your WordPress Site to a New Host

Beginners, experts, and brands large and small tackle WordPress host migration every day, so you’re not alone. Please keep in mind the steps below are general guidelines you must follow. Depending on the structural complexity of your site and server, there may be additional housekeeping needed to ensure a flawless migration. That said, we’ve done it all and can help below in the discussion!

1A. Choose a Web Host (With Free WordPress Migration Assistance)

First, you’ll need a new host, preferably one that specializes in WordPress plans. We recommend choosing one that offers free migration assistance — that is, of course, assuming you’d rather not perform tasks, such as exporting and creating a new database from the migrating site or editing the wp-config.php file, on your own.

Note that hosts that offer free WordPress migrations primarily only do so for new customer accounts. The free WordPress migration is an incentive to sign up. If you’d like to migrate someone’s WordPress site to your existing hosting account, there will likely be a fee for the work.

Our favorite WordPress hosts overall are listed below. At the time of publication, InMotion, SiteGround, and A2 Hosting offered free WordPress migration services to new customers.

WORDPRESS RATING
★★★★★ 5.0/5.0
  • WordPress pre-installed
  • FREE SSL certificate and unlimited bandwidth
  • FREE domain, site transfers, and data backups
(read more)
Starting Price/Mo. $2.95
Money Back Guarantee 90 days
Disk Space Unlimited
Domain Name FREE (1 year)
WordPress Hosting Plans www.inmotionhosting.com/wordpress

Our Expert's InMotion Review

InMotion, long known for their shared hosting options, entered the WordPress space with a solid option built upon their reputation for great support and reliability. Costing a small premium over other budget-minded options, they do... read more +

InMotion, long known for their shared hosting options, entered the WordPress space with a solid option built upon their reputation for great support and reliability. Costing a small premium over other budget-minded options, they do include some nice features to help justify that cost difference.

Build on an all-SSD infrastructure, their speeds are very good. We would have loved to see options like integrated staging and caching included in order to help take full advantage of the nice, modern hardware. The choice of datacenters (East or West) is nice however, as it allows you to target your local audience with better load times.

InMotion offers three different levels to their WordPress hosting offerings, which allows you to tailor the hosting to your needs or budget. For those needing eCommerce support, their middle or top offerings have you covered. Their top offering also allows unlimited installs for WordPress, which is great to see.

Each hosting package they offer comes with a free domain, unlimited disk space, unlimited emails, and free data backups for data security. If you need it, each plan also has support for PHP, Ruby, Perl, and Python, and includes SSH access.

InMotion Hosting has made a name for itself on support and reliability. While not the cheapest of the budget WordPress hosts out there, the packages offered are solid in performance and feature sets.

collapse info -
WORDPRESS RATING
★★★★★ 4.9/5.0
  • Formally endorsed by WordPress
  • VPS technology and included CDN
  • ManageWP pre-installed
(read more)
Starting Price/Mo. $2.95
Money Back Guarantee 30 days
Disk Space Unlimited
Domain Name FREE (1 year)
WordPress Hosting Plans www.bluehost.com/wordpress

Our Expert's Bluehost Review

Aimed at personal bloggers and first-time users, Bluehost’s WordPress hosting packages are a great alternative to simple shared hosting. These service come at a premium, compared to Bluehost’s standard shared plans, but the WordPress optimization... read more +

Aimed at personal bloggers and first-time users, Bluehost’s WordPress hosting packages are a great alternative to simple shared hosting. These service come at a premium, compared to Bluehost’s standard shared plans, but the WordPress optimization and platform-specific resources are arguably worth the cost.

Built on top of their VPS platform, Bluehost's WordPress managed hosting, though not as customizable as others, focuses on simplicity and speed. Their interface is easy to navigate and the instant provisioning allows for speedy setup. Integrated features, such as the MOJO Marketplace and ManageWP, are nice touches as well.

Though simple by design, Bluehost isn’t shorting you on some of the more important technical features. Integrated W3 caching, SiteLock security, and a CDN are standard across all WordPress packages. It’s also important to note that data backups are automated and resources are guaranteed.

Formed in 2003, Bluehost has long been one of the foremost shared hosts on the planet, and they now power more than two million websites. What’s more, Bluehost is on a short list of providers with the official WordPress seal of approval, doled out by the WordPress Core team. With an experienced team, competitive pricing, and always-there support, Bluehost is King when it comes to WordPress hosting services.

collapse info -
WORDPRESS RATING
★★★★★ 4.9/5.0
  • FREE Cloudflare CDN and 1-click installs for WordPress
  • Turbo Server, SSD speed boost, and A2-optimized caching
  • A2-optimized WP plugins for performance and security
(read more)
Starting Price/Mo. $3.92
Money Back Guarantee 30 days
Disk Space Unlimited RAID-10
Domain Name $14.99
WordPress Hosting Plans www.a2hosting.com/wordpress

Our Expert's A2 Hosting Review

If shared web hosting is what you need, A2 Hosting is the perfect host to help launch your site with your choice of CMS, including WordPress, Joomla, Drupal, and others. As part of A2's promise... read more +

If shared web hosting is what you need, A2 Hosting is the perfect host to help launch your site with your choice of CMS, including WordPress, Joomla, Drupal, and others. As part of A2's promise to emphasize performance, they've concocted several A2-optimized features specifically for WordPress.

Getting Started: cPanel, 1-Click Installs, and Softaculous

A2's shared web hosting plans come with cPanel 11 control panel, where users can access Softaculous auto-installer. Easily install popular web applications, including your choice of CMS, with one click.

"If you land on our WordPress landing page, and order WordPress hosting, we auto-install WordPress and our optimization plugin," Bryan said. "You don’t have to do anything."

A2-Optimized Software and Caching Tools

"We wanted to make these performance enhancements really accessible to people," Andy said, so A2 has come up with several plugins and tools designed to operate in their online environment. These features are available for all users, including VPS and managed services customers.

A prime example of A2's custom performance enhancers would be their exclusive Site Accelerator, which helps A2 users experience page loading up to 20 times faster than that of the average web host.

Auto-Configurations for WordPress, Joomla, & Drupal

A2 has optimized tools to auto-configure popular software, including WordPress, with auto-optimizations like compression and caching. "We're trying to ease all the friction points for the users and make sure we’re solving their problems," Andy told us.

Auto-Configurations for PrestaShop and eCommerce Options

Once you've installed PrestaShop, an A2-optimized cPanel plugin will automatically detect it and allow you to set up all "normal" optimizations. "We'll go in and configure everything the way that we know it will work best on our servers," Andy said.

Other eCommerce features include access to SSL certificates, PayPal merchant accounts, and a Merchant ID with E-onlinedata (with instant activation). When it comes to marketing your site or online store, A2 users can get $50 towards paid ads. Plus, with Attracta, a free SEO tool available in cPanel, sites are listed in Google within 24 hours.

A2-Optimized Enhanced Security

In addition to enhanced speed and performance, A2 Hosting includes "Perpetual Security," which features several custom technologies.

HackScan & KernelCare

All A2 accounts are offered a free hacking detection scan, featuring their own hacker detection mechanism: HackScan. A2 Hosting users also benefit from KernelCare: A2's product for conducting daily, rebootless auto-updates to kernels.

Proactive Protection & 24/7 Network Monitoring

A2 has built another custom plugin for WordPress users to prevent hacking. The software auto-hardens WordPress sites for proactive protection against hackers. Additionally, A2 offers virus scanning, a dual firewall, and brute-force attack protection — not to mention SPAM filtering for emails, which are also IMAP, POP3, and SMTP supported.

Final Words on A2 Hosting for WordPress

A2 Hosting offers 24/7 customer support and tons of A2-optimized features made with WordPress users in mind. Whether you're an online retailer looking to launch a fresh site with PrestaShop, or a moderately web-savvy WordPress user looking for speed and security excellence, we'd highly recommend A2 Hosting.

collapse info -

See more of the best WordPress hosts »

2A. Back Up and Transfer Your Website Files

Once you’ve selected your new WordPress hosting plan, follow the setup prompts provided by the company. Do not install WordPress yet, as you’ll want to back up your files in your existing control panel (e.g., cPanel or Plesk) first.

Even if you don’t know what the backup means or its exact contents, you’ll have it on hand in the event of an unexpected error that makes you wish you could travel back in time.

Back up your WordPress website files and directories within cPanel (or another control panel).

If you’re using a free migration host, now’s the time to request a transfer service! A quick Google search for “HostName website transfer request” will guide you to the appropriate form and migration instructions.

You’ll get a confirmation email that says your new host is working on your project, and it will likely include a contact person to stay in touch with. Stay up to date with the transfer by emailing your contact at the new host.

If you’re handling the migration yourself, this guide sums up the steps well:

  1. Backup your WordPress site files using an FTP program.
  2. Export your WordPress database within the phpMyAdmin program in your control panel.
  3. Create a new WordPress database on your new host server.
  4. Edit the wp-config.php file to reflect the new database name and user info.
  5. Import your saved database and upload your WordPress files to your new host.

And, voila! Your WordPress site has a new home. The final step is to point your WordPress site’s domain name to your new host’s nameservers.

3A. Switch Your DNS Record Settings

Once your site transfer is complete, you’ll need to change the DNS of the domain name to point to the new host. To do this, simply log into the original domain registrar of the WordPress site, navigate to the DNS section, and change the two name servers to those given to you by your new web host.

For example, if you’re switching your DNS from GoDaddy, your nameservers might be:

NS41.DOMAINCONTROL.COM
NS42.DOMAINCONTROL.COM

To point your domain to InMotion’s nameservers instead, you would change them to:

NS.INMOTIONHOSTING.COM
NS2.INMOTIONHOSTING.COM

That’s it, except for that slightly annoying propagation time your domain might experience!

Your website will now live on a new web host, and you can explore the tools your new host offers. At the same time, you should click around your site to test any broken links or images. Never underestimate the importance of QA!

B. How to Move Your WordPress Site to a New Domain

Moving a WordPress site to a new domain is actually a bit trickier than moving to a new host. But, as with most tasks in WordPress, where there’s a will, there’s a way!

Think back to when Mark Zuckerberg decided to change TheFacebook.com to Facebook.com. Unfortunately, he couldn’t just delete the “the” and call it a day. Changing domain names isn’t as simple as adding or deleting characters. You have to move files and change some database information. Let’s take a look at how to do this.

Note: I strongly recommend pulling up the live chat support to guide you through this process, because, depending on the web host, there may be additional steps required.

1B. Purchase a New Domain Name Registration

First, create a new domain name in your hosting account. You can browse available domains and purchase the one you want from a third-party registrar, or you can skip the middleman by selecting a hosting provider that lets you handle your domain registration at signup (often covering the initial year’s registration fees!). Make sure your new domain is pointed to the host that is or will be supporting your WordPress site.

2B. Migrate Your WordPress Site Files

Next, log into your cPanel file manager and copy the entire set of public_html files from the site you’d like to move.

Within your control panel, you should find a file manager application. This allows you to easily add, delete, and edit files.

Head to the new file manager file of your new domain name. Paste the previously copied files there. You’ll now have two copies of the same site in two separate locations. Next, head to your phpMyAdmin account.

A popular administration tool for MySQL and MariaDB, phpMyAdmin allows you to easily manage your site database(s).

Find the directory labeled “wrdp” associated with your old domain name on the left. If you own and operate several domains, this can be a bit challenging at first.

Your domain’s wrdp account will be listed on the left-hand side of your phpMyAdmin console.

Click the plus sign next to your domain to expand options. Click “wp_options,” and in the section labeled “siteurl” at the top, click on the pencil icon to edit. In the middle box, change the old URL to your new URL, then click “Save” or “Go.”

3B. De-Index URLs of the Old Domain Site

You’ve now moved your WordPress site to a new domain name, but people can still access your WordPress site at your old domain name. It would be wise to install a plugin, such as Yoast SEO, on the old site, and have search engines de-index any/all URLs of the old site you’d rather people not use or find.

C. How to Move Your WordPress Site to a New Server

If you strictly want to move your WordPress site or blog to a new (upgraded) server, there’s good news and bad news.

The bad news is that your current server isn’t getting the job done. It’s too slow, too expensive, or too cheap. Or perhaps it won’t let you host multiple domains or isn’t equipped with cPanel — or maybe it got hacked by foreign robot spies. That’s a lot of potentially bad news, so, hopefully, it doesn’t all apply to you.

The good news: It’s easy to move a site to a new server. In fact, most hosts will upgrade servers for you and move everything as well. You’ll simply pay them the difference. Of course, if you need to migrate to a new host altogether as part of your server migration, see above first. To recap, here are the steps to migrate your WordPress site itself:

Step 1C: Log into your control panel, back up your site files via the file manager, and export your site database via phpMyAdmin.

Step 2C: Create a new database on your new host server, and edit the wp-config file to include the new database name and login credentials. Import your saved database, and upload your WordPress files.

Step 3C: Ensure your DNS settings are in place, and conduct a final QA before shutting down your old server or canceling your shared hosting account.

You Can be Moved Into Your WordPress Site’s New Home in an Afternoon

In short, by using the free resources at your disposal, you (or your client) can be moved into your WordPress site’s new home in about a day. You don’t need to be a tech expert, but do take notes on what your live chat helpers tell you for future migrations. Now, go impress your clients and have fun in your new hosting environment!

ABOUT THE AUTHOR
Greg Narayan

Greg Narayan serves as Contributor to HostingAdvice.com, headlining topics related to WordPress and the latest advancements in the ever-changing world of affordable web hosting. When he's not creating the next beginner guide or how-to video, you'll find Greg chatting with leaders in the WordPress space, diving into topics such as popular WordPress plugins, Google SEO, WordPress themes for specific types of blogs and websites, and of course, how to better write for the web. Since joining WordPress in 2012, Greg has proudly made his living through many verticals related to blogging and has serious plans to ditch the big city and blog from a beach somewhere. Until then, engage Greg in the comments!