ASAP Today
Oniyore desk
Home / Notes / hosting-migration-no-downtime
migrate website hosting no downtime
Hosting Migration Without a Day of Downtime
Copy content, match host headers, lower TTL, flip DNS, prove 200. A move is a cutover, not a redesign.
Migrations fail on DNS, not rsync
Files copy. Then someone points NS before TLS and host headers are ready.
Sequence
Inventory. Snapshot. Stand origin on the new host with the public Server Name. Cert. Lower TTL. Flip. Watch 200 from outside.
App specifics
WordPress table prefix and urls in post_content. Next.js SITE_URL. Docker compose ports. We do not guess.
Same week is normal; same day when the old host is dying
Tell us the eviction time.
Questions
- Can you move email too?
- Only if you ask. Default is web only so MX does not become an incident.
- What about the CMS?
- We move the app and the database together or we freeze writes. Split-brain is how comments vanish.