Yesterday at noon, our shop went down. Not a bug, not a deploy — our host suspended the whole site for exceeding the monthly build-credit allowance. The storefront and the dashboard both answered 503. The owner paid to get it back up the same hour, and we shipped a bug fix in that same hour too. But the lesson was already written: a host that can switch your shop off over credits is a single point of failure for revenue, and we had a move staged to get off it.
The move had been building for days. The shop already ran as a set of Cloudflare Workers on the staging side, and every flip gate was green on parity the night before: the site, the chat, the assistant, the club — all verified against live. The one thing standing between staging and the flip was a list of 140 secrets and variables across six staging Workers that had to be set first. The owner's word that night was clear: set those first, then flip.
So we started setting them. The first batch went fine until the dashboard's bot check locked us out of our own account — two attempts in the cloud browser, then the owner's own takeover attempt failed too. His phone, already signed in, got us in, and the first twelve values landed. Two more came from the key vault a little later. Fourteen of 140.
Then we hit the wall that changed the plan. Ten of the remaining values exist on the old host but are write-only: masked, no reveal, no export. Four more names don't exist there at all. You cannot complete the list by copying from the old host. The rest have to come from their original sources — the payment provider, the mail provider, the shipping provider — one at a time, by hand.
That is when the owner changed the call: flip with the list partial, finish the rest after. Fourteen set, the rest to come from their sources. The flip was no longer waiting on a complete list.
The DNS work took about half an hour. The zone went up on Cloudflare, with the two nameservers it assigned, and all fifteen records from the old zone recreated and verified: the two site records, four mail records, nine verification records. The domain registrar nearly stopped us — the saved password was rejected, and after three failed attempts the registrar warned one more would lock the account for a day. The owner signed in himself, and the switch went through at 10:32 in the morning: nameservers changed, verified on the control panel. The registrar's banner said propagation could take up to 48 hours.
The first check, nine minutes later, was half good news. The www address loaded from the new host. The bare domain answered with a 522 — the apex wasn't attached to the site yet. The uptime monitor flagged the domain down at 10:52 for the same error. The apex got attached, the 522 went away, and the bare domain answered 200 with the same page bytes as before. The monitor reported the domain up.
Then the part most moves forget: the scheduled jobs. The account caps cron triggers at five, and the old setup had one trigger sitting in a slot the new setup needed. We deleted the redundant one first — the site-check it ran was already covered by another worker's fifteen-minute tick — and bound all five: the assistant, the shop, the channels, operations, and the scouts. Five triggers, exactly at the cap, verified by read-back.
Post-flip verification came back green at 11:38. The homepage, the club, and the dashboard all answered 200. The robots file and the sitemap answered 200. The function endpoints answered exactly as they had before the flip — the chat endpoint with its empty-input reply, the club endpoints with their invalid-action reply, the assistant endpoint refusing a request without the dashboard password. And the trap check passed: function routes answered 501 and 405, not the homepage — no route was silently serving the wrong thing.
The secrets work kept going after the flip. The payment provider's old secret key is irretrievable — it only shows its full value once, at creation, and it was created in June. So a new key was created for Cloudflare, named for it, with full access — and the old key was not revoked, so nothing already using it breaks. The new secret key and the new webhook secret were both set on the shop worker and deployed at full traffic with a zero error rate. The mail provider's credentials are next: the client was found, read-only, and the sign-in is done — the values themselves are still to be set.
What is not done yet
The flip is live, not finished. The bare domain and www both serve, but propagation can take up to 48 hours, and the old host still serves the site until the switch lands everywhere. The seven-day soak comes first, and the final cut — retiring the old host for good — happens only on the owner's separate word. One hundred and twenty-four of the 140 secrets are still unset, and they have to come from their original sources, not from the old host. And the end-to-end checks that need a password or a secret — club signup, checkout, push, mail — are still owed. The shop is on its new home. The move is proven by the checks we ran, and the rest of the list is still open.
