Web Hosting Guides
Topic: website migration zero downtime

How to Migrate a Website to a New Host With Zero Downtime (2026 Checklist)

2026-11-28
•
8 min read

Changing hosts feels risky because done badly, it means downtime, lost email, and a broken site. Done right, your visitors notice nothing. After migrating hundreds of sites since 2018, here's the exact process.

**First, the easy option:** Patahost migrates your website, databases, and email **free** when you join us — . If you're migrating yourself, follow along.

The Zero-Downtime Principle The secret: **keep the old host running until the new one is fully working.** You only switch DNS at the very end, when the new site is verified. Downtime happens when people delete the old site or switch DNS to an incomplete new one. Never do either.

Phase 1: Prepare the New Host 1. Set up your hosting account and note temporary access URLs 2. Note your new nameservers or the new server's IP 3. **Lower your TTL** at the current DNS provider to 300 seconds (5 min) 24 hours before migration for fast propagation.

Phase 2: Migrate Files and Database - **Files**: Download Home Directory archive from cPanel and extract into the new host's `public_html` - **Database**: Export SQL from old phpMyAdmin, create new database + user on new host, and import SQL - **Update Connection**: Update `wp-config.php` with new DB credentials.

Phase 3: Migrate Email Email accounts live on the old server until DNS switches. Recreate each mailbox on the new host *before* switching DNS, and export critical mailboxes via IMAP client for backup.

Phase 4: The DNS Switch (D-Day) At your domain registrar, update nameservers to the new host. Both servers remain active during the propagation window so no visitor ever sees an error.

Phase 5: Verification & Safety Buffer Test login, contact forms, and email sending from mobile data. **Keep the old host active for 7–14 days** as a safety buffer before cancelling.

Tags:#migration#DNS#cPanel#email migration#website transfer
Reliable Kenya Cloud Infrastructure

Tired of Server Errors and Slow Support on Other Hosts?

Migrate your websites to PataHost’s rock-solid cloud hosting. Our senior technical team moves your files, databases, and emails for free with zero downtime.

Free Zero-Downtime Migration
From KSh 150/Month with M-Pesa
24/7 Nairobi Engineering Support