When Your Host Goes Down: Monitoring, Evidence and Recovery
Your uptime check can say 200 while the edge serves a 19 hour old copy. A measured drill for spotting, proving and surviving a host outage.
I asked my own homepage for a page this evening and it answered in 364 ms with a 200. The response carried age: 5,963, so the copy handed to me had sat in a Vercel edge cache for 1 hour and 39 minutes. Nothing there shows my origin was alive.
Then I asked for 12 blog addresses, six of them pages I rarely link to. Each answered MISS with age: 0, then HIT half a second later. The cold fetch took a median of 552 ms against 314 ms warm.
An uptime check earns its alarm only if it runs from outside your network, hits a URL the cache cannot answer from storage, and reaches a phone you look at. Before the bad day, write down two numbers: the TTL on your A record, which decides how long a host move takes to become visible, and the date of the newest copy of your files that does not live on the host. Below is one drill against roshaan.me on Nov 21 2026 23:19 PKT.
Two kinds of claim follow. The measurements are mine, written by blog-pipeline/tools/measure_outage.py and measure_cache.py into blog-pipeline/data/outage_drill.json from one machine in Pakistan. The platform behaviour is quoted from the page linked beside it, because I read headers on one site and not the inside of a CDN.
A 200 from the edge is not a 200 from your site
Vercel’s cache status page defines the header I measured: HIT came from the cache, MISS was generated from the origin and then stored.
My homepage answered HIT with an age of 5,963 seconds on three consecutive requests. Then I sent three more with Cache-Control: no-cache, max-age=0 and Pragma: no-cache, which is what a careful monitor sends. All three came back HIT, with ages from 5,969 to 5,971 seconds, in 344, 413, 353 ms. Nothing I put in the request changed the answer.
The page sends public, max-age=0, must-revalidate, so it should not be served unchecked. A copy 99 minutes old was served anyway. I cannot see the rule inside the edge that produced that, and I will not invent one.
Here are the six that were cold, with the same address requested again straight after:
| URL | Cold | Age | Cold ms | Warm | Age | Warm ms |
|---|---|---|---|---|---|---|
| teardown-five-plumber-websites | MISS | 0 | 586.9 | HIT | 0 | 316.3 |
| mobile-first-for-tradespeople | MISS | 0 | 565.1 | HIT | 1 | 591.1 |
| service-pages-vs-one-homepage | MISS | 0 | 538.8 | HIT | 0 | 294.1 |
| contact-form-losing-leads | MISS | 0 | 526.5 | HIT | 0 | 349.2 |
| reviews-on-your-own-site | MISS | 0 | 629.1 | HIT | 0 | 312.7 |
| wordpress-speed-without-plugins | MISS | 0 | 518.0 | HIT | 0 | 311.8 |
The other 6 were already warm, with ages from 147 to 68,530 seconds. Every one of the 12 answered 200. The six cold reads median 552 ms and the same six warm read 314 ms, so the cache is worth 238 ms on this connection and says nothing about the origin.
One number from that table deserves its own plate. The oldest copy the edge served me was the blog index:
The fix is not a request header, because the headers did nothing. Point the monitor at a URL the edge cannot answer from storage: your own API route, or the newest post, the only page whose content changes between deploys.
Five checks, timed
When a site stops answering, the first round of checks is diagnosis and it costs almost nothing. I ran six commands three times each and kept the median:
| What it answers | Command | Median ms | Range ms |
|---|---|---|---|
| Is the name pointing somewhere? | dig +short A roshaan.me | 55.3 | 52.3 to 74.6 |
| Does anything answer at all? | curl -sS -o /dev/null https://roshaan.me/ | 340.9 | 328.6 to 2,404.0 |
| What code, and how fast? | curl -sS -o /dev/null -w '%{http_code} %{time_starttransfer}' | 327.0 | 318.2 to 327.8 |
| Who holds the zone right now? | dig +short NS roshaan.me | 54.6 | 54.1 to 54.7 |
| What is the last known good build? | git log -1 --format=%cI | 11.5 | 11.5 to 12.3 |
| How old is the copy I can restore? | git show -s --format=%cI HEAD | 15.6 | 13.7 to 20.2 |
The whole ladder is 805 ms of wall clock, and the slowest single sample was 2404 ms on the connection check, the first curl after the connection had been idle. The diagnostics are cheap. Deciding what the answers mean is not.
One caveat: one machine in Pakistan, one resolver, three samples each, on Nov 21 2026 23:19 PKT. The ordering travels. A name in 55 ms and a page in 340 ms both say the failure is not in your browser.
What the status code decides
RFC 9110 defines 503 as a server currently unable to handle the request due to temporary overload or scheduled maintenance, optionally with a Retry-After, and 504 as a gateway that did not receive a timely response from an upstream server. The same section notes some servers refuse the connection instead of sending a code, so “no response” and “503” are one event seen from two places.
Cloudflare names the case where the origin is the problem. Its 521 page says the error occurs when the origin web server refuses connections from Cloudflare, and lists two common causes: an offlined origin application, and Cloudflare requests being blocked. That ends the argument about whose problem it is.
What each result tells you to do next:
- A 521, 522 or 523 from a proxy means your host is not answering it. The ticket goes to the host.
- A 500 from a WordPress install is your code, a plugin or the database. The ticket goes to you first.
- A 200 carrying an
ageof hours means the CDN is covering for a dead origin.
Your DNS TTL is the recovery clock
The TTL field controls how long a record is cached and, in Cloudflare’s words, how long it takes for record updates to reach your end users. It decides whether a host move takes ten minutes or a day.
I asked each zone’s own nameserver for its A record, so these are configured values, not a resolver’s countdown:
| Domain | A record TTL | Zone nameserver | Resolver TTL |
|---|---|---|---|
roshaan.me | 600 s | rene.ns.cloudflare.com | 241 |
providarcm.com | 1,800 s | orbit.dns-parking.com | 1,442 |
medfactorinc.com | 300 s | deb.ns.cloudflare.com | 300 |
wordpress.org | 600 s | ns1.wordpress.org | 550 |
shopify.com | 60 s | gold.foundationdns.net | 56 |
vercel.com | 1,800 s | ns2.vercel-dns.com | 1,607 |
cloudflare.com | 300 s | ns7.cloudflare.com | 188 |
Then I asked the same seven names twice, four seconds apart. Every one of the 7 dropped by 3 or 4 seconds between the two answers: a stored number counting down in a machine you do not own.
roshaan.me sits at 600 seconds, so a corrected record is visible within ten minutes and never longer. providarcm.com is at 1,800 seconds, half an hour. The Cloudflare reference covers the middle of that range: proxied records default to an Auto TTL of 300 seconds which cannot be edited, and both proxied zones in the sample answered exactly 300 seconds.
So look up your own TTL before you need it. If it is 24 hours, lower it a day before a planned move rather than during an unplanned one.
The message that gets an answer
“The site is down” needs three round trips before anyone opens a log.
Send one URL, three timestamps in one timezone, the status you saw, and what you ruled out. Mine reads like this: https://roshaan.me/ at 23:19, 23:24 and 23:29 PKT (UTC+5), 200 each time from x-vercel-cache: HIT with age: 5,963 and up, so the edge was serving a stored copy; dig +short A returned the expected address; the nameservers answered in 55 ms.
Leave out three things: a browser screenshot as the only evidence, “many customers” with no count behind it, and any statement about the cause. A wrong guess costs the credibility the next ticket needs.
The three things that have to live outside the host
If everything you need sits inside the account that just went dark, your downtime lasts as long as their queue.
The zone first. roshaan.me answers from rene.ns.cloudflare.com, so its nameservers are at a company that is not hosting the site. Repointing traffic does not need the host to answer.
The files second. The repo behind this site has its origin at git@github.com:mrjfsdpk/portfolio.git, the working copy is 17M with history, and the last commit before this post is dated Nov 20 2026, 20:38 PKT. That is the whole site on another provider. A backup that restores is the database half, and the test is a restore rather than a file listing.
Third, a page that can stand in. An unknown URL here returns 404 with 7,293 bytes of the site’s own design: a good 404 and a bad holding page, since it tells visitors and crawlers the page is gone. A made up holding page URL returned the same 404. A page that says the site is coming back has to be built and the record pointed at it, and the evening before an outage is too late.
Here is the order I work in, and the order I would give a client:
Choosing a host by what happens on the bad day
Hosting comparisons measure the good day. What matters on the bad day is four questions a sales page answers if you ask.
- Is there a public status page with history, so you can see whether your outage is known?
- Does the CDN serve a stale copy when the origin errors?
- Where do backups live, and can you download one while the control panel is down?
- Can you take the nameservers with you, or does leaving mean a migration?
UptimeRobot’s help centre puts a number on the detection half: the free plan checks every 5 minutes and Solo every 1 minute, and the interval applies while a monitor is up, so a long outage gets re-checked less often. Their false alert page covers the confirmation: up to three re-checks from other data centres in the same region before the monitor is marked down. On a free plan the floor on noticing is five minutes plus a few seconds.
Five minutes is fine for a brochure site and too slow for a shop taking orders.
Run the drill before you need it
Everything above came from one scripted pass and no cooperation from anyone. The commands are in blog-pipeline/tools/measure_outage.py and the output is committed at blog-pipeline/data/outage_drill.json.
Do the cheap parts today: look up your TTL, check which nameservers hold your zone, confirm your repo has a remote that is not your host, and point one external check at a URL your cache cannot answer.
If the site is slow rather than down, the speed work is a different ladder, and the monthly pass is where these checks belong so they run without an outage prompting them.
- 20 NOV 2026 Custom Post Types Without a Plugin: The Whole File Two live installs carry 14 plugin post types and 8 published entries between them. The reviews section you want is 92 lines of PHP. Read →
- 19 NOV 2026 Block Themes or Page Builders in 2026: What I Choose and Why I loaded an Elementor homepage and a block theme homepage with the same script. The builder shipped 1.26 MB of CSS and 8.3 divs for every text block. Read →
- 19 NOV 2026 WordPress Login Hardening: What Each Change Actually Stops I put five login changes on a stock WordPress install and measured each one. XML-RPC still answered 80 methods after the usual one-line filter. Read →
Got a site that should be doing more?
Send me the address and one sentence about what you sell. I will tell you what I would fix first, and whether it is worth fixing at all.