A hosting migration puts a working copy of your site on a new host and sends visitors there once the copy is ready. Most of the setup can happen while the old site is still online. The tricky part comes at the handover, when the new host needs the latest version of everything the old site has accepted, including recent uploads, form submissions, or orders.
For a site made up of static pages, that handover can be as simple as publishing the latest files and changing where the domain points. For a store or a site with user accounts, the people doing the move also have to decide when to stop writes on the old site and when to allow them on the new one. That decision shapes how much downtime, if any, the move needs.
1. Copy the Site While the Old Host Keeps Serving It
The initial copy gives you a version of the site to configure and test. For a site such as WordPress, that usually means transferring the application files, uploaded media, and a database export. The new environment needs its own database connection and any settings required to talk to external services. A managed migration or control panel transfer may do some of that setup for you. Check what it copied if the site keeps files or data somewhere outside the hosting account.
The old site stays in service during this stage. A database copy made on Monday can be enough for testing on Tuesday even if the live site takes orders in between. Plan to bring those changes over during the final handover.
2. Test the Copy Before You Send Visitors to It
Use the new host’s preview or staging setup to make sure the site starts and can read its data. Open the types of pages people use, sign in, check media, and exercise the most important forms or transactions in test mode where available. Use a test mailbox or sandbox for anything that sends email or triggers payments. Keep background jobs and outgoing integrations under control so the copy cannot send duplicate messages or process live work.
Confirm that the destination can serve HTTPS for the public domain. A temporary preview URL can help you test the site itself. It may need a separate check for redirects, cookies, and certificate coverage on the domain visitors actually use.
3. Bring the New Site Up to Date
For a site that changes only when its owner publishes, you can pause edits briefly and copy the latest files or data. That may let visitors keep reading throughout the move. For an online shop or another site that accepts writes, choose a quiet window for the final transfer. Pause activity that changes data on the old site, including scheduled jobs if they can still update it. Take a final backup or export and make sure the destination has the latest orders, updates, and uploads before it takes over.
Some moves use database replication to copy ongoing changes and shorten the write pause. The migration team still needs to confirm the destination caught up and control which database accepts writes when the site switches over. For example, if both copies accept orders independently during the move, switching traffic to the new host leaves orders behind on the old one until someone reconciles them.
4. Switch the Domain or CDN to the New Host
DNS tells browsers where to reach your site. When your DNS service stays in place, the move usually changes the records that direct web traffic. Update the relevant A, AAAA, or CNAME records to the targets the new host supplies. Check the bare domain and www if you use both. An old IPv6 address in an AAAA record can still send visitors to the former host. If a content delivery network or proxy manages the origin connection, you may change its origin target instead. If the move also changes nameservers, make sure the new DNS service already has the zone records the domain needs, including the ones for mail.
DNS resolvers can keep using old records until their cached answers expire. A lower time to live, or TTL, can shorten the wait when you can set it in advance and allow the previous TTL to elapse. Some visitors may still reach the old host during the transition. Keep it available and prevent it from accepting new activity that would leave the copies out of sync.
5. Check the Handover While the Old Host Is Still Available
Test the real domain over HTTPS and confirm that you’re reaching the new origin. Repeat the checks for the features that matter, such as checkout, sign-in, and forms. Watch the new host’s logs for errors and the old host’s logs for traffic that still reaches it. Check email if any of its services or DNS records moved.
Keep a way back until the site has settled. Before the new site starts accepting writes, rolling back may be as simple as restoring the previous destination and making the old site writable again. Once the new site has taken orders or other live changes, account for those updates before you send visitors back. Keep the old plan long enough to confirm traffic and scheduled jobs have moved and any retained data has been checked.
If the new host will handle the transfer, check what the hosting plan covers. Ask who tests the copy, who handles the final sync and traffic change, and who will make the call if you need to delay or reverse the handover.