Shipping ItLesson 70 of 74

Module 8 · Running it for years

Moving to another provider without losing a URL

In this lesson

  • 9 min read
  • 5 reading sections
  • Knowledge check
  • Lesson 4 of 8 in this chapter

This chapter’s goalDecide what to run yourself and what to buy using a cost per user and a maintenance budget you have actually calculated, keep a system upgraded and legally presentable over several years, and move it to another provider without losing a URL.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
A migration with an undo at every stepDay minus 7Lower the DNS TTL to 60 secondsDay minus 5Stand the new system up in parallel on a temporary hostname; restore a dump, thenkeep it in sync by replicationDay minus 1Run read traffic against the new system; compare behaviourDay 0,quietesthourCut over. Old system still running. 301s for any path that changedDay 1 to 7Watch. Rollback is one DNS change while the old data is currentDay 30Decommission, and keep the old data offline for another monthThe order is the whole method. Lower the TTL before anything else, cut over with the old system stillalive and still receiving data, and decommission nothing for a month, because a same-day decommissionis a migration with no undo.
The order is the whole method. Lower the TTL before anything else, cut over with the old system still alive and still receiving data, and decommission nothing for a month, because a same-day decommission is a migration with no undo.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 6Free · no account needed
Lesson steps

Everything moves eventually

Prices change, a free tier ends, a provider is acquired, a region closes, or the thing you chose at the start no longer fits. Migration is not a failure; it is a normal event in the life of a system that survives.

It is also where small projects lose data and break links, because the work is done in the wrong order.

The order that works

  1. Stand the new thing up in parallel. Nothing is switched. Deploy the application to the new provider, point it at a copy of the data, and use it yourself on a temporary hostname.
  2. Copy the data, then keep it in sync. For a database, a dump and restore establishes the baseline; logical replication or change-data-capture keeps it current so the final cutover moves minutes of data rather than hours.
  3. Lower the DNS TTL first. Days in advance. A record with a 24-hour TTL takes up to a day for the last resolver to notice a change; a 60-second TTL makes the cutover reversible in a minute. This step must happen before everything else, and it is the one most often forgotten.
  4. Run read traffic against the new system while writes still go to the old one, if your architecture allows it. Any difference in behaviour appears here, without risk.
  5. Cut over during your quietest hour, with the old system still running and still receiving data.
  6. Watch for a day, then a week, before decommissioning anything.
  7. Keep the old system’s data, offline, for a month after you turn it off.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Agents and Automation exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘Moving to another provider without losing a URL’, in Shipping It. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/cloud-and-shipping/moving-house (Accessed: 29 November 2026).