Your current web host is slow, support takes days to answer, or the renewal price just jumped. You know it’s time to move, but one worry keeps you stuck: what if your website goes offline during the switch? The good news is that a well-planned migration doesn’t need any downtime at all. Visitors keep seeing your site, orders keep coming in, and the move happens quietly in the background.
This guide walks you through how to migrate your website to a new host step by step, in plain English. Whether you run a WordPress blog, a small online store or a simple business site, the same basic plan applies.
Why Downtime Happens During a Website Move
Downtime usually comes from doing things in the wrong order. The most common mistakes are:
- Canceling the old plan too early. If your old host shuts off before the new one is serving your site, visitors see an error page.
- Pointing your domain before the new site is ready. Visitors land on an empty server or a half-copied site.
- Forgetting about DNS caching. Internet providers remember where your domain points for a while, so some visitors reach the old server and some reach the new one during the switch.
- Missing pieces. A database, an email account or an SSL certificate gets left behind.
The fix is simple: keep both hosts running side by side, test the new copy thoroughly, and only then point your domain to it.
Before You Start: Your Migration Checklist
Gather these before you touch anything:
- Login details for your old host’s control panel (often cPanel) and your new hosting account
- Access to wherever your domain is registered, so you can change DNS or nameservers
- A list of every email account on your domain, plus any forwarders
- Admin access to your website (for example, your WordPress dashboard)
- A quiet time window, such as a weekend morning, when traffic is lowest
Step-by-Step: How to Migrate Your Website to a New Host
Step 1: Sign Up With Your New Host (and Keep the Old One)
Pick a plan that fits your site’s size and traffic. For most small businesses and blogs, shared hosting is plenty; if you’re unsure, our guide to shared hosting vs. VPS hosting can help you decide. Most important: do not cancel your old hosting yet. You’ll keep it until the new site has been live and stable for a few days.
Step 2: Lower Your DNS TTL a Day or Two Ahead
TTL (“time to live”) tells internet providers how long to remember where your domain points. Many records are set to one hour or longer. About 24–48 hours before the move, log in to your DNS settings and lower the TTL on your main records (usually the A record for your domain and “www”) to something short, such as 300 seconds (5 minutes). When you make the real switch later, visitors will pick up the change much faster.
New to DNS? Our beginner’s guide to website DNS records explains A records, CNAMEs and nameservers.
Step 3: Back Up Everything
Make a full backup of your website files and your database. In cPanel, you can download a full account backup, or grab your files with the File Manager and export your database with phpMyAdmin. WordPress users can also use a backup or migration plugin. Store a copy on your own computer, not just on the old server.
Step 4: Copy Your Site to the New Host
Upload your files to the new account, create a new database and user, import your database, and update your site’s configuration file (for WordPress, that’s wp-config.php) with the new database name, username and password.
Prefer to skip this part? Every AthenaHost plan includes free site migration, so our team can copy your site over for you while your old site stays online.
Step 5: Test the New Site Before Anyone Sees It
This is the step that prevents surprises. You can preview the new copy before changing DNS by editing your computer’s “hosts” file to point your domain at the new server’s IP address. Only your computer sees the new site; everyone else still sees the old one. Click through your pages and check:
- Home page, menus and key landing pages load correctly
- Images, videos and downloads appear
- Contact forms send messages
- You can log in to the admin area
- Checkout works, if you sell online (run a test order)
Remember to remove the hosts file entry when you’re done testing.
Step 6: Recreate Email Accounts
If your email is hosted with your website, set up the same addresses on the new host before the switch. If you use an outside email service, copy your MX, SPF and other email-related DNS records exactly so mail keeps flowing.
Step 7: Freeze Changes, Then Point Your Domain
Pause new blog posts, plugin updates or product edits for a few hours so nothing gets lost between servers. For busy stores, do a final database sync right before the switch. Then update your A records to the new server’s IP address, or change your nameservers to the ones your new host gives you. Because you lowered the TTL earlier, most visitors should reach the new server within minutes to a few hours, although some networks can take up to 48 hours.
Step 8: Set Up SSL and Check Again
Once your domain points to the new host, issue or install your SSL certificate so the site loads over HTTPS without browser warnings. Then repeat your Step 5 checks on the live site, and keep an eye on your contact forms and email for a day or two.
Step 9: Cancel the Old Host Last
Wait at least a few days, and up to a week if you can, before canceling the old plan. Download one last backup first, just in case. If your domain is also registered there, you can move it separately later; our guide on how to transfer a domain name covers that process.
DIY Migration vs. Free Migration Service
| Do it yourself | Host’s free migration | |
|---|---|---|
| Cost | Free, but takes your time | Free with your plan |
| Technical skill needed | Moderate (files, databases, DNS) | Very little |
| Risk of mistakes | Higher for first-timers | Lower; handled by experienced staff |
| Your job | Every step | Share access, test, update DNS |
| Best for | Developers and tinkerers | Busy business owners and beginners |
Common Migration Mistakes to Avoid
- Skipping the backup. Always keep your own copy, even when someone else does the move.
- Changing your domain name at the same time. Moving hosts and moving to a new domain are two separate projects. Do one at a time.
- Forgetting scheduled tasks. Cron jobs, automated backups and form integrations may need to be set up again.
- Ignoring PHP versions. Make sure the new server runs a PHP version your site and plugins support.
Frequently Asked Questions
How long does it take to migrate a website?
Copying a small site often takes less than an hour. The full process, including lowering TTL, testing and waiting for DNS, usually runs one to three days. Most of that is waiting, not work.
Will moving hosts hurt my SEO?
Not if your domain and page URLs stay the same and the site stays online. Search engines care about content and availability, not which company hosts it. A faster host can even help.
Do I need to transfer my domain too?
No. Your domain can stay where it is; you only need to update its DNS records or nameservers. Many people move the domain later to keep everything in one place.
Will I lose my email during the move?
Not if you recreate your mailboxes on the new host (or copy your email DNS records) before switching. Keep the old host active for a few days so you can grab any messages that arrive there during the changeover.
Ready to Move? We’ll Do the Heavy Lifting
Switching hosts doesn’t have to mean downtime or stress. Keep both servers running, lower your TTL, back up, test and then point your domain, in that order, and your visitors will never notice the move.
Want to skip the technical parts? AthenaHost shared hosting starts at just $7.95/mo, and every plan includes free site migration. Running WordPress? Take a look at our WordPress hosting, or compare all plans to find the right fit. We’ll move your site while it stays online.