Skip to content

Move your site without losing changes

Build and test the new copy before changing where visitors go. The hardest part is often keeping new orders, messages and uploads during the move.

Read the guide

List what has to move

Record the domains, app versions, databases, uploads, scheduled tasks and external services the site depends on. Include email routing if it uses the same domain.

Check whether the new server supports the required software and has enough space for the data and a temporary restore copy. Save a separate backup before changing the old server.

Prepare the destination

Secure access, install the required software and restore the application and database. Use a temporary hostname or a local hosts-file entry to test without sending public traffic to it.

Avoid running background jobs on both servers at once. A duplicate billing task, email queue or import can create a problem even before DNS changes.

Test the real user journey

Check more than the home page. Use test data to confirm that the important actions work on the new system.

  • Sign-in, password or token access and logout.
  • Uploads, downloads, search and form submissions.
  • Database writes and the scheduled tasks they trigger.
  • HTTPS certificates, redirects and the intended domain name.
  • Outbound email or other integrations, without sending unwanted messages.

Plan the final data copy

If users can still add data, the first backup will become out of date. Choose a short maintenance window, a read-only period or a supported replication method.

Copy the final database changes and new uploads before making the destination writable. Note the cutover time so you can tell which server received a later request.

Change DNS and watch both sides

Review the DNS TTL ahead of the move. A lower TTL can reduce caching time after existing cached records expire, but it does not make every visitor switch at once.

Update the required records, including IPv6 when used. Keep the old service available during the transition and monitor errors, certificates and application behaviour from more than one connection.

Keep a route back

Decide in advance which failure would make you pause or reverse the move. If the new system has accepted fresh data, moving DNS back alone may lose that data or split it across two databases.

Once traffic and writes are stable on the new server, keep the final backup and cancel the old service deliberately. Check that its scheduled jobs and integrations have stopped.

Common questions

Will changing DNS move my files?

No. DNS only tells clients where to connect. You must copy and test the application, files and database separately.

Can I keep both sites accepting orders?

That can split orders between two databases. Use a planned cutover or a supported shared-data arrangement.

When should I cancel the old server?

After the new service is tested, traffic has moved, recent data is accounted for and you have a separate backup.