Skip to content
Saturday, November 28, 2026Newsletter
Advertisement
Website & Digital Presence

How to Move Website to New Hosting Without Breaking Anything

A practical migration checklist covering file exports, DNS timing, SSL setup, and a parallel-run period so you can switch hosts with confidence.

By

Founder

7 min read

ShareLinkedInXEmail
Photograph: Laptop on a desk (Unsplash)
Photo: Aleksi Tappura a / Wikimedia Commons, CC0 1.0. Cropped from the original.

Moving a site to a new host often breaks things because files, databases, and DNS records must move in the right order. This guide is for small business owners who run their own web presence and cannot afford extended downtime. You will learn how to move website to new hosting without losing data, breaking email, or triggering browser security warnings.

The checklist covers export, staging, SSL handling, and a short parallel run before you cancel the old account. After reading, you can run the migration yourself or hand a clear plan to a vendor. See Who Owns My Business Website Domain and Hosting? first if you are unsure who controls your registrar account today.

Before You Start Migration

Confirm you control the domain registrar account before you touch any DNS records. You need the login credentials for the registrar dashboard to update name servers or A records when the new host is ready. If the domain was registered by a former employee or an outside agency, recover that access first.

Check that the administrative contact email on the domain record is an address you can reach. The registrar sends confirmation links there for DNS changes and transfers. Verify the email delivers before migration day, not after a problem has already started.

Copy every record from the current DNS zone into a text file. You will need this list to rebuild the zone on the new provider without missing anything, including MX records for email and any verification records for third-party services. Note the current TTL value for each record so you know how long you need to wait after lowering it.

Confirm the new hosting account is provisioned and that you can create a staging subdomain for testing before you change any live records. If the domain renews within the next two weeks, renew it now. An expiration during a migration adds a complication you do not need.

Advertisement

Export Your Files and Database

Download a complete backup of your site files and database from the current hosting provider before changing anything. Use the control panel file manager or an FTP client to copy every folder and file to your local machine. Export the database through the control panel database tool or the command line if you have shell access.

Verify the export file size matches the database size shown in the control panel before you close the connection. Store the backup in two separate locations, such as your local drive and a cloud backup folder. Open the SQL file in a text editor and search for your domain name to confirm the content exported correctly.

A common mistake is skipping the uploads folder or hidden configuration files such as .htaccess. These files control redirects and server behavior. Missing them causes broken pages or redirect loops on the new host.

Do not proceed until you have restored the backup to a test environment and confirmed the site loads. Verifying the restore is a separate step from taking the backup, and skipping the restore test is how migrations stall. This verification is as important as the backup itself.

Set Up and Test on the New Host

Create a staging environment on the new server using a temporary URL or a local hosts file entry. A hosts file entry lets your browser resolve the real domain to the new server IP without changing public DNS. Install the same server software version and required extensions the live site uses. Upload the site files to the document root and import the database dump into a new database on the new host.

Advertisement

Update the configuration file with the new database credentials and the temporary URL. Run a search and replace on the database to swap the old domain for the temporary URL so internal links and media paths point to the right place.

Log in to the admin area and confirm media, plugins, and theme settings work. Submit a test contact form and check that the notification email arrives. If the site processes payments, run a test transaction and confirm the processor receives the callback. This confirms the payment integration survived the move before real customers are affected.

Cloud-based file storage can serve as a reliable hosting environment for this kind of work. Microsoft's Azure Files planning documentation notes that SSD file shares are suitable for website hosting, databases, and development environments, which is useful context if you are evaluating cloud-hosted options for the new server. Review the error logs for missing assets or database connection warnings, and fix every error before you change any DNS records.

DNS Cutover: TTL Strategy and Timing

Lower the time-to-live value on your A record and CNAME records to the minimum your registrar allows, and do this well before the planned cutover. A low TTL tells DNS resolvers to check for fresh answers more often, which shortens the window where visitors land on the old server after you switch. Set it to the lowest value your registrar allows.

Wait for the original TTL to expire fully before you update the records. If the original TTL was set to a full day, you must wait that entire period after lowering it before the shorter value takes effect for most resolvers. Skipping this wait is a common mistake that leaves visitors on the old server far longer than expected.

Change the A record or name servers at the exact time you planned. Verify the new records appear in a public DNS lookup tool before assuming propagation is complete. Test from a device outside your office network because local caches may still return the old answer.

Advertisement

If traffic still hits the old server after a few hours, confirm the registrar saved the record change and that your TTL reduction had time to propagate before the cutover. Having the old TTL value written down beforehand removes the guesswork when you need to troubleshoot.

SSL Certificate: Transfer or Reissue

A valid SSL certificate must be active on the new server before you point DNS to it. If the certificate is missing or expired when visitors arrive, browsers display a security warning that blocks access and damages trust with customers.

Check whether your current certificate can move with you. Some providers let you export the private key and certificate files for transfer. Others tie the certificate to their infrastructure and require you to request a new one. Ask the new host before assuming a transfer will work, because the answer varies by provider.

If the new host offers a free automated certificate, request it on the staging URL first to confirm the domain validation process works. Install the certificate and test it with an online SSL checker. Verify the full certificate chain, the expiration date, and that no mixed-content warnings appear. Mixed content occurs when your site loads images or scripts over plain HTTP instead of HTTPS, often because old URLs are hard-coded in the database.

For paid certificates, contact the certificate issuer and follow their reissue process. You will need to prove domain control again after pointing DNS. Confirm automatic renewal is enabled on the new host so the certificate does not lapse after migration. For more on certificate problems, see what to do when an SSL certificate expires.

Advertisement

Post-Migration Checks and Parallel Run

Keep the old hosting account active for at least a day or two after the DNS switch. Use that window to verify every critical path under real traffic before you cancel the old plan. This parallel run is your safety net, and canceling the old account too soon is one of the most common migration mistakes.

Run through this checklist during the parallel window: load the home page on a fresh browser session, submit a contact form and check the inbox for the notification email, complete a test checkout and confirm the payment processes, trigger a password reset email and confirm it arrives, and review the error log for new entries. Run the full checklist at least twice during the window, once early and once near the end.

Check that internal email routing still delivers to the correct mailboxes if you use a separate mail provider. If you moved email at the same time as the web hosting, confirm MX records updated correctly and test delivery from an outside address. A common mistake is assuming email works because the site loads.

Treat your hosting credentials with the same care as any critical system account during this period. CISA's ransomware guidance recommends against performing high-risk activities such as general web browsing on systems where privileged accounts are active, a practice worth carrying over to how you manage admin access during a migration window. Cancel the old plan only after the parallel window shows zero critical errors across a full business cycle.

If you need ongoing help managing your site after migration, see our website development services and our managed website offer for small businesses. JDL also provides disaster recovery and business continuity planning to protect your digital assets going forward.

Book a free 30-minute call with Joshua to talk through your migration plan. He can help you decide whether to run it yourself, hand it to a vendor, or have JDL handle the whole move from export to cutover.

Frequently asked questions

Why do I need access to the domain registrar before moving my site?
You need registrar access to update name servers or A records when the new host is ready. Without that access you cannot complete the DNS cutover, and the site will keep pointing to the old host.
What should I do with my SSL certificate when moving hosts?
Check whether your current certificate can be exported and transferred or whether the new host requires a fresh one. Install and verify the certificate on the staging URL before pointing DNS to avoid browser warnings.
How long should I keep my old hosting account after switching DNS?
Keep the old account active for at least a day or two after the DNS switch. Use that window to test forms, email, and payment integrations under real traffic before canceling.
What is a DNS TTL and why does it matter for a site migration?
TTL, or time-to-live, is the number of seconds DNS resolvers wait before checking for a record update. Lowering it before cutover means visitors switch to the new server faster, and you can roll back quickly if something breaks.

Sources

  1. Microsoft's Azure Files planning documentation notes that SSD file shares are suitable for website hosting, databases, and development environments, which is useful context if you are evaluating cloud-hosted options for the new server. learn.microsoft.com (accessed 2026-11-27)
  2. CISA's ransomware guidance recommends against performing high-risk activities such as general web browsing on systems where privileged accounts are active, a practice worth carrying over to how you manage admin access during a migration window. cisa.gov (accessed 2026-11-27)
Advertisement

Is your website doing its job?

Book a free 30-minute call. We will look at your current site together and tell you honestly what to fix, patch or replace.

Book a free website review

Related service: Website & Digital Presence

Junious Digital Labs logo

Joshua Junious

Founder of Junious Digital Labs, a veteran-owned IT consultancy. Army National Guard veteran and former IT director. About Joshua

Reach readers across the Junious Media Network. Advertise with us →