Q: My site is behind Cloudflare and monitoring is acting weird. What's the setup playbook?
A: A CDN changes what 'up' even means, because your monitor might be testing the edge, not your server. Set up both views.
— Monitor the public hostname to see what users see (edge + origin together).
— Add a separate monitor straight to origin IP (with a host header) so you can tell origin-down from edge-down.
— Whitelist your monitoring provider's IPs in Cloudflare's firewall and rate limiting, or you'll block your own prober.
— Disable bot-fight challenges for the monitor's User-Agent on the checked path.
— Watch for cached pages masking an origin outage: assert on something dynamic.
Follow-up: when the public check passes but origin fails, Cloudflare is serving cache and your real app is down. That's a ticking clock, not an all-clear.
Got a question? Drop it in the comments.
Pingback Clinic
@PingbackClinic
Q: My site is behind Cloudflare and monitoring is acting weird. What's the setup playbook?
Этот пост опубликован в Telegram-канале Pingback Clinic. Подписаться можно по ссылке: @PingbackClinic.