How to Move Your Website to a New Host

How to Move Your Website to a New Host

TL;DR

Moving a website to a new host is far less risky than it feels, as long as you do things in the right order: take inventory of everything you have, back it all up, build a complete working copy at the new host, test it thoroughly while the old site still runs, and only then point your domain at the new home. Keep the old hosting active until you have verified everything. Done this way, the move is boring, and boring is exactly what you want.

Why does moving a website feel scarier than it is?

Because it sounds like moving a house: pick everything up, carry it across a gap, hope nothing breaks in transit. But that mental picture is wrong, and replacing it is half the battle. A website move done properly is not a leap across a gap. It is building a complete second copy of your site in the new location, checking it top to bottom while your existing site keeps running untouched, and then, only when the copy is proven, telling the internet to start sending visitors to the new address.

At no point in that process does your live site depend on anything going right. That is the property that makes migration safe for beginners: every step is reversible until the very last one, and even the last one can be undone by pointing the domain back. Hold onto that, because calm process beats technical skill in this job, every time.

One clarification before we start, because it trips people up constantly: your domain name and your hosting are separate things, even if you bought them from the same company. Moving hosts does not mean moving or re-buying your domain. The domain stays yours and simply gets pointed at the new server, like updating a mail forwarding address.

Step 1: What do you actually have?

Before touching anything, make a list. Websites accumulate parts over time, and the moves that go wrong are almost always the ones where a forgotten part surfaces a week later. Walk through your current hosting account and write down:

  • The site itself: the files, and the database if your platform uses one. WordPress sites have both. Static sites, like the kind we compared in our WordPress versus static guide, are usually just files, which makes them delightfully easy to move.
  • Email: do any addresses at your domain receive mail through this host? Email is the single most forgotten item in migrations, and losing it hurts more than losing a web page.
  • Extras: subdomains, SSL certificates, scheduled tasks, redirects, forms that send mail, anything connected to third-party services.
  • Access: logins for your current host and, importantly, for wherever your domain is registered, since that is where you will eventually update DNS.

Fifteen minutes of inventory converts unknown risks into a checklist, and checklists do not panic.

Step 2: How do you back everything up properly?

Now capture a complete copy of everything on your list, downloaded to your own computer, not merely stored in the old host's backup system. The distinction matters: a backup that lives only on the host you are leaving is a backup you might lose access to at the worst moment.

For most sites this means downloading the site files, exporting the database if there is one, and saving any email you cannot afford to lose. WordPress users can also use a migration plugin that bundles everything into one portable package, which is a legitimate shortcut. Whatever the method, apply the golden rule: the move does not start until the backup is complete and sitting somewhere you control. If everything else in this guide goes sideways, this step alone guarantees your site survives.

Step 3: Why set up the new host before switching anything?

Because parallel running is the entire secret. Sign up with the new host, and build your site there completely while the old one continues serving visitors, blissfully unaware. Upload the files, import the database, install what needs installing, configure what needs configuring. If you are choosing where to land, our guide to cheap, reliable hosting for a first blog or website covers the options honestly, and note that many hosts will do this whole step for you as a free migration service, which is always worth asking about before doing it by hand.

The beautiful part is that pressure does not exist here. The new copy can be broken for days while you fiddle with it, and nobody will ever know, because nobody is visiting it yet. Take your time. This is the step where mistakes are free.

Step 4: How do you test a site nobody can visit yet?

Every host gives you some way to view your site on their servers before your domain points there, usually a temporary preview address or a preview feature in their control panel. Use it, and test like a skeptical visitor rather than a proud owner:

  • Click through your most important pages, not just the homepage.
  • Check images, menus, and links, especially on a phone.
  • If you have forms, submit one and confirm it arrives.
  • If you have a login or admin area, log in and post a test change.
  • Compare a few pages side by side against the live site to catch anything missing.

While you are testing, do the one genuinely technical trick in this guide: lower your DNS TTL. In plain language, TTL is how long the internet is allowed to remember your domain's current address before asking again. It is often set to remember for hours. Go to where your DNS is managed, find the record pointing at your old host, and lower its TTL to a few minutes. Do this a day or two before the switch. When you flip the address later, the whole internet will notice quickly instead of serving stale directions all afternoon.

Step 5: How do you actually make the switch?

Once the new copy passes every test, the switch itself is an anticlimax, which is the goal. At your domain registrar or DNS provider, update your domain's records to point at the new host's address, either by changing the individual records or by switching nameservers, and your new host's documentation will say exactly which. Save, and you are done. Because you lowered the TTL, visitors start arriving at the new server within minutes.

Pick a quiet moment for this, evening or weekend for most sites, not because it is dangerous but because calm hours make for calm decisions. Afterward, confirm the switch took: visit the site, check that a page you changed only on the new copy is the one showing, and make sure your secure connection works. If anything looks seriously wrong, the undo is the same edit in reverse, pointing back at the old host, which is still running. That is your safety net, and knowing it exists is why this step should not scare you.

Step 6: When is it safe to cancel the old host?

Not yet. Keep the old hosting active for a few weeks after the switch. This costs a little overlap money and buys three things: time for DNS to settle globally, time for forgotten dependencies to reveal themselves, an email account here, a scheduled task there, and a live fallback in case anything needs to be retrieved or re-checked. Before finally cancelling, skim your inventory list one last time and confirm every item now lives at the new host. Then cancel, keep your backups anyway, and enjoy the specific satisfaction of a scary-sounding job done without a single dramatic moment.

That is the entire craft of it: inventory, backup, parallel build, test, switch, verify, then retire the old. No step requires expertise. Every step rewards patience.

Next step: if this move is part of leveling up your whole web presence, the learn AI hub gathers our plain-language guides on building sites, skills, and honest online income around them.

Frequently Asked Questions

Will my website go down when I switch hosts?

Not if you do it in the right order. The trick is running both copies at once: your old site stays live while you build and test the new one, and the DNS switch simply redirects visitors from one working site to another. Downtime happens when people cancel the old host first. Overlap the two and there is no gap.

What exactly do I need to back up before moving?

Everything that makes your site yours: the site files, the database if your platform uses one, your email if it lives with the same host, and copies of any settings or custom configuration. Download it all to your own computer, not just to the host. If the move goes perfectly, you lose nothing by having done this. If it does not, this is everything.

What is DNS TTL, and why lower it before migrating?

TTL is how long the internet is allowed to remember your domain's current address before checking again. Lowering it a day or two before you switch means that when you update DNS, the whole internet notices the change in minutes instead of hours. It is a small courtesy to your future self that makes switch day almost instant.

How long should I keep my old hosting after moving?

A few weeks is a sensible cushion. That gives DNS time to fully settle everywhere, gives you time to notice anything you forgot, like an email account or a scheduled task, and keeps a working fallback available. Cancel only after the new site has run cleanly for a while and you have confirmed nothing still depends on the old server.

Can my new host move my website for me?

Often, yes. Many hosts offer free or inexpensive migration help, especially for WordPress sites, where they handle the copying and setup for you. It is worth asking before doing anything manually. Even with white-glove migration, still make your own backups and still test the new copy yourself before pointing your domain at it.

Disclosure: Some links on this page are affiliate or referral links. If you sign up for a paid plan or subscription through them, AiWizardry may earn a commission, at no extra cost to you, and you often get a discount. We only recommend tools we would use ourselves, and these relationships never change what we tell you about a product.