Blog

  • Blog Home
  • How to Migrate Your Website to a New Host Without Downtime
How to Migrate Your Website to a New Host Without Downtime

October 28, 2026

10 min Read

How to Migrate Your Website to a New Host Without Downtime

How to Migrate Your Website to a New Hosting Provider Without Downtime

Switching hosting providers worries many Philippine website owners, mostly because of the fear of taking the site offline. A well-planned migration can be completed with little or no visible downtime, as long as you also plan for data that changes during the move. This guide covers the process from first backup to final cutover.

Executive Summary

Migrating without downtime means completing the full transfer—files, databases, and email—on the new server and testing it before visitors are sent there. Your old hosting stays live meanwhile, so a static or read-only site can switch with no interruption. A site that accepts orders, bookings, form submissions, or uploads is different: a one-time copy goes stale as new data keeps arriving. Plan a brief write pause or final synchronization, with one authoritative write destination during cutover; two independently writable copies are not safe while DNS propagates. Complex transactional sites suit a managed or coordinated migration. Active work typically takes about 2–4 hours for a small, standard WordPress site; larger sites take longer.

Quick Answer

Back up your files and database, copy everything to the new host, test with your real hostname using a hosts-file override (including valid HTTPS), and verify email. A static or read-only site can then switch its DNS records with no pause. If your site takes orders, bookings, submissions, or uploads, pause writes briefly, run a final sync, and make the new host the only place accepting writes before switching. Cancel old hosting only after website, email, HTTPS, and final data are verified—not after a fixed number of hours.

Why Philippine Businesses Switch Hosting Providers

Hosting needs change as businesses grow. A plan that handled 200 visitors per month may struggle at 2,000. Slow page load times, frequent downtime during Philippine peak hours (evening and payday weekends), or support teams that respond in time zones far from Manila are common reasons to move.

If your site is already showing signs that your current plan can't keep up, read about signs your growing business has outgrown shared hosting before you start. Understanding the root cause helps you choose the right next plan.

Before You Start: Pre-Migration Checklist

  • Confirm your new hosting account is active and the control panel is accessible
  • Decide whether your site is static/read-only or accepts orders, bookings, submissions, or uploads
  • Export your complete DNS zone, including A/AAAA, www, and mail records, and note your current nameservers and whether DNSSEC is enabled
  • Download a full backup of all website files (public_html or equivalent)
  • Export your database(s) from the current host (MySQL dump via phpMyAdmin or command line)
  • List all email accounts and confirm whether email stays with an external provider or moves with your hosting
  • Note custom PHP settings, cron jobs, or .htaccess rules in use
  • Record active SSL certificates and plan how the new host will provide a valid certificate for your production hostname before cutover

Step-by-Step: How to Migrate With Minimal Downtime

  1. Back up all files and your database on the current host Use your current host's backup tool, cPanel's Backup Wizard, or an FTP client to download the complete contents of your public_html folder. Export each database via phpMyAdmin: select the database, click Export, choose the SQL format, and save the file. Keep these backups on your computer and, ideally, external or cloud storage.
  2. Upload files and import the database on the new host Log in to your new control panel. Create a new database and database user with the same name and password as the original (or update the database connection details in your site's config file later). Upload your files via FTP, cPanel File Manager, or your host's migration tool. Import the exported SQL file via phpMyAdmin on the new server. For WordPress sites, update the wp-config.php file if database credentials changed. This is only the initial copy; if your site keeps receiving data, you will sync again in Step 6.
  3. Test the site on the new server before changing DNS Edit your computer's hosts file to point your production hostname (and www) to the new server's IP address. This is the preferred test because the site, redirects, and HTTPS behave as they will live. A temporary host URL (such as server123.hostprovider.com/~yourdomain) may not validate the complete site, since URLs, redirects, and certificates can differ. Before cutover, confirm the new host serves valid HTTPS for your production hostname, using your host's supported certificate issuance or a secure certificate transfer. Browse the site, submit a test form, check images and links, and verify any e-commerce or booking features. Fix issues before traffic moves over.
  4. Set up and verify email before cutover If your email is hosted externally (for example Google Workspace or Microsoft 365), it is unaffected by a website move: keep its MX, SPF, DKIM, and DMARC records unchanged in the DNS you use after cutover. If email is hosted with your old web host and is moving, recreating mailboxes is only the first part. Transfer existing messages (via IMAP migration or your host's tools), confirm the relevant DNS and authentication records, and test sending and receiving. Monitor mailboxes on both servers during cutover, then run a final mailbox synchronization.
  5. Prepare DNS and lower the TTL before cutover Note your current TTL (Time to Live), then lower it to 300–600 seconds (5–10 minutes) on the records you will change. Do this at least as long before cutover as the previous TTL, so caches holding the old value expire first. Keeping your current DNS provider and editing only the website records (A/AAAA for the root domain and www) is often enough. Changing authoritative nameservers is optional, needed only if the new host will manage your DNS. Record TTL does not control all nameserver-delegation caching, so nameserver changes can take longer to settle. If you change nameservers, first copy the complete DNS zone to the new nameservers and coordinate DNSSEC if it is enabled, so validation does not fail.
  6. Run the final sync, then cut over DNS For a static or read-only site, update the A/AAAA and www records (or the nameservers, if you chose that route) once testing passes. For a site that accepts orders, bookings, submissions, or uploads, pause writes briefly, copy the latest database and uploaded files to the new host, verify them, and then switch DNS. Visitors can still browse, but writes are unavailable, so tell customers. Keep the old site read-only throughout DNS propagation, and enable writes only on the verified new site after the final sync. Visitors reaching the old site must receive a clear notice that orders and submissions are temporarily unavailable. Never leave two independently writable copies, since visitors reach different servers during propagation. Complex transactional sites are better moved through a managed or coordinated migration. A global DNS checker such as whatsmydns.net shows what some resolvers return; it does not prove every visitor has switched.
  7. Cancel old hosting only after everything is verified Keep the old plan until you have verified the website, email (sending, receiving, and the final mailbox sync), HTTPS on the production hostname, and that final data such as orders and submissions exists on the new host. Overlap length depends on your previous TTL, any nameserver change, and traffic; check server logs for requests still reaching the old server, as a fixed 24–48 or 48–72-hour wait is not proof. Keep your final old-server backup for at least 30 days. To roll back, point records to the old host; caching means some visitors keep reaching the new server for a while, and data written there after cutover must be copied back first.
Z.com Web Hosting — reliable hosting with local support for Philippine businesses

Common Mistakes That Cause Downtime During Migration

Cancelling the old hosting plan too early

Cancelling or letting the old hosting expire before verification is complete is a common cause of downtime. Keep both plans active until website, email, HTTPS, and final data are confirmed on the new host.

Forgetting to migrate the database

Uploading files without their matching database results in a broken site: WordPress shows a database connection error; other CMS platforms may show blank pages or partial content. Always migrate the database in the same sequence.

Skipping the test phase

Moving DNS before confirming the new server works correctly means visitors will land on a broken site. The hosts-file test with your production hostname exists to catch errors before they affect real traffic.

Treating mailbox recreation as an email migration

Recreating mailboxes on the new server creates empty accounts; it does not move existing messages. If your email moves, transfer messages, check MX and authentication records, and monitor both servers until a final sync. Externally hosted email is unaffected if its records stay unchanged.

Key Takeaways

  • A low-downtime migration keeps the old host live until the new server is tested and DNS has switched; static or read-only sites can switch without interruption.
  • Sites with orders, bookings, submissions, or uploads need a brief write pause or final sync and one authoritative write destination; complex ones need a managed migration.
  • Back up files and the database first, then test with your production hostname and valid HTTPS via the hosts file before switching DNS.
  • Lower the TTL ahead of cutover by at least the previous TTL; changing nameservers is optional, and if you do, copy the full DNS zone and coordinate DNSSEC.
  • Cancel old hosting only after website, email, HTTPS, and final data are verified, and keep a rollback path.

Frequently Asked Questions

How long does a website migration take?

The active work—backup, upload, database import, and testing—often takes about 2–4 hours for a small, standard WordPress site. Larger or customized sites, email transfers, and final syncs take longer. After cutover, DNS changes spread according to TTL and caching, and nameserver changes can take a day or more.

Will my email be affected during the migration?

It depends on where your email is hosted. Externally hosted email is unaffected if its MX, SPF, DKIM, and DMARC records stay unchanged. If email is on your old web host, transfer existing messages, check the DNS and authentication records, monitor both servers during cutover, and run a final mailbox sync. Sending servers may retry delivery, but behavior varies, so plan the sync rather than relying on retries.

Do I need to re-install my SSL certificate on the new host?

You need a valid certificate for your production hostname working on the new host before cutover. Use a method your host supports, such as DNS-validated issuance or a secure transfer of your existing certificate, and confirm it with the hosts-file test. Do not plan to rely on issuing a certificate after DNS switches, as visitors could see browser warnings in the gap.

Can I migrate a WordPress site without a plugin?

Yes. Manual migration—downloading files via FTP and exporting the database via phpMyAdmin—works reliably and gives you full control. Migration plugins like Duplicator or All-in-One WP Migration are also an option, especially for smaller sites. Large or customized sites may benefit from a developer's or your host's migration help.

Looking for a Philippine web hosting provider with local support and a smooth migration experience? Explore Z.com Web Hosting plans built for SMBs in the Philippines.

View Hosting Plans