How to Monitor a Website Behind Cloudflare or a WAF

Bot protection is designed to stop automated traffic, and a monitoring check is automated traffic. When a firewall starts challenging your monitor, the result is not an obvious error — it is a quiet, convincing wrong answer about your website's health.

Start your 7-day trial — no credit card, free plan after.

Why a blocked monitor looks like a healthy website

When a web application firewall decides a visitor might be a bot, it rarely refuses the request outright. It serves a page instead: a browser check, a CAPTCHA, or an access-denied notice. That page is real HTML. It has a title, it loads without errors, and it usually arrives quickly because there is almost nothing on it.

A monitoring check that only asks whether the server responded will accept that page as a success. Uptime stays green, response time looks excellent, and no alert is raised. The site genuinely is fine — it is just not fine for the monitor, and no one finds out until someone looks at what the monitor actually saw.

Screenshot and visual comparison monitoring makes the problem more expensive. A baseline image is a stored claim about what your page is supposed to look like. If the baseline was captured during a challenge, the CAPTCHA screen becomes the reference. Every later comparison matches it perfectly, and the day the firewall rule relaxes, your real homepage is reported as a visual regression.

This is not a rare edge case. It happens after a WAF rule change, after a security vendor tightens defaults, during a traffic spike that triggers rate limiting, or simply because a monitoring provider's IP range picked up a poor reputation score from unrelated traffic.

How a monitor should detect that it has been challenged

The fix is for the monitor to recognise a challenge page as its own outcome, separate from both success and generic failure. Doing that reliably means refusing to trust any single signal, because every individual signal is misleading on its own.

Status codes are not enough. A firewall challenge often returns 403, 429, or 503, but a client-side browser check can return a normal 200 with an empty shell, and plenty of legitimate pages return 403 for reasons unrelated to bots. Page text is not enough either — a search for phrases like "verify you are human" will match any article that happens to discuss CAPTCHAs.

Looking for CAPTCHA elements in the page is the most tempting shortcut and the most damaging one. A great many healthy login, signup, and contact pages embed a CAPTCHA widget as an ordinary form control. Treating that widget as proof of a block means failing checks on pages that are working perfectly. NorthDuty only treats a CAPTCHA widget as evidence of a challenge when the response also carried a blocking status code or the page text is using challenge language.

NorthDuty gathers four independent views of every page before deciding: the response headers, which is where security vendors identify themselves most deliberately; distinctive markup belonging to a specific vendor's challenge; the visible page text; and the addresses of the scripts, frames, and forms the page loaded, which catches vendors that ship no recognisable markup at all. Strong, vendor-specific evidence is trusted on its own. Ambiguous evidence has to be corroborated before it counts.

One more distinction matters more than any of the detection work: whether the block can clear by itself. A managed browser check usually resolves after a few seconds without any human involvement, so NorthDuty waits briefly and re-tests, and abandons the wait early if the challenge escalates into something a browser cannot solve. A CAPTCHA that requires a person will never clear, so the check fails immediately, names the vendor doing the blocking, and tells you that allowlisting is the fix. That last part matters because the remedy always lives in your firewall configuration, not in the monitoring tool.

What this looks like in practice

A few recurring scenarios show why a blocked check needs its own category.

The green dashboard nobody trusts

A new firewall rule starts challenging the monitor. Uptime stays at 100% for days because the challenge page returns quickly and without errors, while the check has not actually seen the real site once.

The poisoned baseline

A visual comparison baseline is captured during a challenge. Comparisons stay clean until the block lifts, at which point the genuine homepage is flagged as a full-page regression.

The login page false alarm

A signup page legitimately embeds a CAPTCHA widget. A naive detector calls it a block and fails a healthy page. Requiring a blocking status code alongside the widget prevents it.

The wait that never pays off

A CAPTCHA needing a human is retried repeatedly until the check times out. Classifying it as unclearable ends the check straight away and reports the real reason instead.

Best practices for monitoring a protected site

Assume that anything monitoring a firewalled site will eventually be challenged, and plan for it.

Conclusion

Bot protection and monitoring want opposite things, and when they collide the failure is silent. A blocked check that reports success is worse than a check that fails loudly, because it quietly replaces real information about your website with a confident, wrong answer.

NorthDuty treats a security challenge as a distinct result: it correlates response headers, page markup, visible text, and loaded resources before deciding it has been blocked, waits only on challenges that can actually clear, refuses to store a screenshot captured behind an interstitial, and names the vendor responsible so you know exactly where to allowlist.

Related NorthDuty Pages

Keep exploring the feature pages and commercial routes connected to this topic.

Related reading

More NorthDuty guides on related website monitoring topics.

Frequently Asked Questions

Short answers that summarize the practical takeaways from this guide.

Can Cloudflare block a website monitoring service?

Yes. Cloudflare and similar firewalls treat automated checks as bot traffic and may serve a browser check, a CAPTCHA, or an access-denied page instead of your site. Allowlisting your monitoring provider's IP ranges or user agent prevents it.

Why does my monitor say the site is up when it is being blocked?

A challenge page is a real page that loads quickly and without errors. A check that only verifies the server responded will record it as a success. The monitor has to actively recognise the challenge to report it correctly.

How do I allowlist a monitoring tool in my WAF?

Add a firewall rule that skips bot protection for the monitoring provider's published IP ranges, or for its user agent string. Re-verify the rule after any firewall or security vendor change, since defaults are often reset.

Does a CAPTCHA on my login page mean my monitor is blocked?

No. Many healthy pages embed a CAPTCHA widget as a normal form control. It only indicates a block when it appears alongside a blocking response status or challenge wording, which is why NorthDuty requires that corroboration before failing a check.

Call To Action

Start monitoring your website with NorthDuty today.

NorthDuty detects when a firewall challenge is standing between it and your site, names the vendor responsible, and refuses to record a CAPTCHA page as a healthy result or a visual baseline.

7 days with every feature unlocked, no credit card required — then keep monitoring on the free forever plan.