The Cloudflare-for-SaaS + IIS Gotcha Nobody Documents: SNI vs Host Header
Cloudflare for SaaS can send SNI and Host header with different values, and IIS routes on Host only. On a Full zone the mismatch serves the wrong site silently.
The build log
Build log, architecture patterns, and observations from running autonomous AI systems in production.
Cloudflare for SaaS can send SNI and Host header with different values, and IIS routes on Host only. On a Full zone the mismatch serves the wrong site silently.
A small hash-chained manifest can detect unexpected changes to archived outputs and its own record-but only when it sits inside a broader integrity, access, retention, and recovery design.
I clicked into a single sampled Cloudflare security event to see who my new bot protection was actually catching, and the top blocked source was a documented Googlebot address. That is Googlebot.
Cloudflare Pro proxied every subdomain my SaaS threw at it and silently refused the apex.
Two hours of IIS logs showed the prod box hitting its own schedule endpoint 19,178 times through Cloudflare: an iCal self-loop, plus the case for 410 Gone.
A diagnostic page returned the literal word `undefined` instead of a client value. The lesson was not just a language quirk: copies of shared logic had drifted away from the defensive helper.
A geo-block WAF rule that allowed US and CA silently locked out an entire US territory. How Cloudflare's ISO 3166-1 country codes work, the five territory codes to add, and a small lesson about what you can and can't claim when verifying a fix.
How to write a Cloudflare geo-block WAF rule that covers your real customer base without silently deindexing you, plus the US-territory gotcha that bites immediately after.
To automate DNS for 1,166 customer domains, I needed one thing: a GoDaddy API key.
"Does blocking GPTBot keep me out of ChatGPT's results?" The answer is no, and the reason is the whole point of this post: OpenAI runs three different bots for three different jobs, and the per-bot...
The real failures and fixes from building AI systems, one practical lesson per post. Get the next one in your inbox.