Home › Knowledgebase › KB-1396

How To Minimise Website Migration Downtime

Summary

This guide helps you troubleshoot and resolve: How To Minimise Website Migration Downtime. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Moving a live website between hosting providers or servers carries inherent risks to business continuity. Poorly planned migrations can result in extended outages, lost data, and broken marketing links, which directly impact customer trust and revenue. This guide outlines how to minimize downtime during a website migration by addressing DNS propagation, data synchronization, and pre-launch verification.

Understanding Migration Downtime

Downtime during a migration typically occurs for two primary reasons:

Pre-Migration Planning

1. Audit Your Current Environment

Before touching any settings, document your current setup to ensure nothing is missed during the move.

  1. Identify all domains and subdomains associated with the website.
  2. Locate your current DNS records, including A records, CNAME records, and MX records for email.
  3. Note the file paths used on the current server, such as /var/www/html or public_html.
  4. Record database credentials, including the database name, username, and host address.

2. Prepare the Destination Server

Set up the new hosting environment before initiating the transfer.

  1. Install the required web server software (e.g., Apache or Nginx) and database server.
  2. Upload your website files to the new server using SFTP or the hosting control panel's file manager.
  3. Import your database export into the new database instance.
  4. Update configuration files (such as wp-config.php for WordPress) with the new database credentials.

3. Lower DNS TTL Values

Time to Live (TTL) determines how long ISPs cache your DNS records. A high TTL means longer propagation delays.

  1. Log in to your domain registrar or DNS management console.
  2. Locate the DNS record for your primary domain (usually the A record).
  3. Change the TTL value to a low number, such as 300 seconds (5 minutes), at least 24 hours before the migration.
  4. Save the changes using the Save or Update button.
Do not lower TTL values on the day of migration. Changes to TTL themselves take time to propagate based on the existing TTL.

Executing the Migration

1. Synchronize Dynamic Data

For sites with frequent updates, perform a final data sync immediately before switching DNS.

  1. Place the old site in maintenance mode to prevent new database entries.
  2. Export the most recent database dump from the old server.
  3. Import this final dump into the new server's database.
  4. Verify that the record counts match between the old and new databases.

2. Update DNS Records

Once the new environment is verified, point your domain to the new server.

  1. Access your DNS management panel at your domain registrar.
  2. Edit the A record for your domain to point to the new server's IP address.
  3. Update any CNAME records for subdomains (e.g., www) if necessary.
  4. Click Save Changes to apply the new DNS configuration.

3. Verify the New Environment

Before announcing the migration is complete, confirm everything works as expected.

  1. Visit your website using a browser in incognito mode to avoid local caching.
  2. Test key functionality, such as contact forms, checkout processes, and user logins.
  3. Check that images, stylesheets, and scripts are loading from the new server.
  4. Use an online DNS propagation checker to confirm the new IP address is visible globally.

Post-Migration Checks

Monitor for Issues

Keep a close eye on the site for the first 24 to 48 hours.

Decommission the Old Server

Do not cancel your old hosting account immediately.

  1. Keep the old server running for at least one week after the migration.
  2. Use this period as a rollback option if critical issues are discovered on the new platform.
  3. Once you are confident the migration is stable, back up the old server one final time and then cancel the service.
Preserving marketing visibility is critical. Ensure that your robots.txt file and sitemap are accessible on the new server so search engines can continue to index your content without interruption.
Remember — If you host with us, you don't need to do this yourself — just Open a Ticket and our Brisbane team will get it sorted.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket