Maybe the renewal price went up again. Maybe the site’s slow, support takes three days to reply, or the person who set it up has moved on and nobody knows the logins. Whatever the reason, moving a WordPress site to a new host is a well-worn job. It’s not hard if you do it in the right order, and most of the horror stories come from doing it in the wrong one.
What “moving hosts” actually involves
A WordPress site is two things: a folder of files (WordPress itself, your theme, plugins and uploaded photos) and a database (your pages, posts and settings). Moving host means copying both to the new server, checking they work there, then pointing your domain at the new copy. Your domain name doesn’t have to move at all. It’s a separate thing from your hosting, and usually the simplest choice is to leave it where it is.
The steps, in order
- Take a full backup first. Files and database, downloaded somewhere that isn’t the old host. If anything goes wrong, this is your way back.
- Set up the new hosting, but don’t touch your domain yet.
- Copy the site across. Migration plugins such as Duplicator or All-in-One WP Migration bundle up the files and database for you. On larger sites they can hit upload limits, and then it’s a manual copy of files and a database export.
- Test the new copy before anyone sees it. Most hosts give you a temporary address. Click through every page, submit the contact form, check the images and the mobile layout.
- Point your domain at the new host. This is the switch. It can take a few hours to reach everyone, and during that time some visitors see the old copy and some the new one, which is why the old one has to keep running.
- Check HTTPS on the new host. The padlock certificate has to be issued for your domain on the new server. Most hosts do this automatically once the domain points there, but check it, because a missing certificate puts a “not secure” warning in front of every visitor.
- Only then cancel the old hosting. Give it a week. If something turns up missing, you can still fetch it.
The traps NZ small businesses actually hit
Your email lives on the old host
This one catches more people than anything else. If your you@yourbusiness.co.nz email came bundled with your old hosting, cancelling that hosting cancels your email too. Before you switch anything, find out where your email is hosted. If it’s on the old host, plan where it’s going (a dedicated email provider, or a forwarding address into the inbox you already use) and move it first. Changing the domain’s settings carelessly can also stop email arriving, even when the email itself isn’t moving.
Nobody has the logins
You’ll need access to three things: the old hosting account, the WordPress admin, and wherever the domain is registered. If a former web designer set it all up, some of those may be in their name. Get them sorted before the renewal date, not the week after. If the domain turns out to be registered to someone else, that’s worth fixing now regardless. We’ve written about whether you actually own your website.
Out-of-date plugins break on the new server
A site that hasn’t been updated in a couple of years often runs fine on an old server and falls over on a modern one. Newer servers run newer versions of the software WordPress is built on, and old plugins weren’t written for them. Update WordPress, the theme and plugins before the move (with that backup in hand), or budget time to fix what breaks after. Out-of-date plugins are also a security risk whether or not you move.
Timing it around the renewal
Most hosts bill a year in advance. Start the move a few weeks before the renewal date, not the day before, so you’re not rushed and you’re not paying for another year you won’t use.
Do it yourself, or have it done?
If you’re comfortable with backups, file managers and domain settings, the steps above are a weekend afternoon for a small site. If none of those words mean much to you, it’s the kind of job where an hour of mistakes costs more than having it done. A Richmond café owner shouldn’t need to learn what a DNS record is just to change hosts, any more than they need to learn to service the coffee machine.
That’s how our hosting works. On managed WordPress hosting we do the move, test it, switch the domain and check HTTPS, then keep WordPress and its plugins patched from then on. Moving is free for content-only sites under 20 pages with a single contact form; anything more involved, we quote before starting. And if you’ve had enough of WordPress altogether, we can move the site off it instead, so there’s nothing left to patch. See our hosting plans for what each one covers.
The short version
Back up first, copy, test on the new host, switch the domain, check HTTPS and email, and only then cancel the old plan. Done in that order, nobody visiting your site will notice it moved, and that’s exactly the point.
Frequently asked questions
Will my website go down when I move it to a new host?
It shouldn't, if the move is done in the right order. The site is copied and tested on the new host while the old one keeps running, and only then is the domain pointed across. Visitors see either the old copy or the new one during the changeover, not an error page.
How long does it take to move a WordPress site?
The copying and testing for a small brochure site is usually a few hours of work. The domain switch can take up to 48 hours to reach everyone, though most visitors see the new host within an hour or two.
Do I need to move my domain as well as my website?
No. Your domain and your hosting are separate, so you can leave the domain where it is and just point it at the new host. If you do want to move a .nz domain to a new registrar, you'll need its UDAI, the code that authorises the transfer, from your current provider.