Uptime monitoring from outside your own infrastructure that alerts you the minute your site goes down — upordown.online

A WAF is supposed to take bad traffic off your origin. The first day it is also very good at taking good traffic off your origin: a payment webhook, a partner integration, a customer behind a CGNAT, a preview bot, or the uptime check you forgot was not on the allowlist. The site can look fine from the office and be quietly broken for everyone else.

Here is the checklist I want filled in before the switch, then walked again the morning after.

Before you flip it on

1. Write down what the WAF is in front of, and what it is not. The marketing site, the API, the webhooks path, the admin app, the static CDN, and the status page may need different policies. A single "block everything ugly" rule on *.example.com will eventually hit a path that cannot tolerate it (a raw POST from a bank, a health check, a large file upload).

2. Inventory the traffic that is not a browser. Payment providers, email inbound webhooks, mobile apps, partner server-to-server calls, cron jobs that hit your own API, search crawlers you actually want, and your uptime checks. For each one, record source IPs if they publish them, user-agents, TLS fingerprints if you use them, and the exact URL. This list is the difference between a WAF and an outage.

3. Put the WAF in log-only or "challenge but don't block" first. Run it there long enough to see a weekday, a weekend, and a marketing send. You want counts for the rules that would have blocked production, not a feeling. If the product cannot do log-only, put it in front of a staging hostname that gets real replayed traffic.

4. Align TLS, headers and the origin allowlist. If the WAF terminates TLS, the origin should accept traffic only from the WAF (or you have just added a bypass). If you already had a CDN, decide which layer issues the certificate, which one adds X-Forwarded-For / True-Client-IP, and whether your app's rate limits and logs will see the client or the WAF. Getting this wrong either exposes the origin or makes every log line look like one IP.

5. Decide how you will bypass a false positive in a hurry. A specific rule off, a path exception, an IP allowlist, or a "we're under attack" profile you can undo. Write the steps, and make sure more than one person can do them. A WAF change that needs a ticket with the vendor at 3 a.m. is not a bypass.

6. Check body and header size limits, and the HTTP methods you actually use. WAFs have request-body inspection caps. File uploads, large GraphQL queries and PATCH/PUT/OPTIONS preflights are regular casualties. Confirm WebSockets, HTTP/2 and HTTP/3 (if you use them) still complete through the chosen path.

The day you cut over

7. Cut over a slice, not the universe. One hostname, one path, or one percentage, with an obvious rollback (DNS, a flag, a page rule). Watch 4xx and 5xx at the WAF and at the origin, not just origin CPU. A WAF that returns 403 will make the origin look healthier than it is.

8. Confirm the allowlisted traffic yourself, from outside the office. Send a test webhook from the provider's "resend" button, sign in from a phone off Wi-Fi, complete a checkout, and hit the health URL from a network that is not yours. Office IPs, VPNs and "trust my browser" exceptions hide almost everything.

A WAF 403 is an outage for the person who received it, even if your origin logs are quiet and a laptop on the corp network still loads the homepage. upordown.online checks the public URL from outside your infrastructure, so a new bot rule that blocks real users (or the check itself) shows up as a failed probe with a timestamp.

9. Put your uptime checks on an explicit allowlist, or give them a path the WAF does not challenge. Then confirm the check still fails if the origin is down. An allowlist that also happens to skip the origin is a monitor you have silently retired. Record the 403 body or status the WAF uses, so a blocked check is obvious in the logs.

10. Watch the first crawlers and the first payment batch. Search bots, link previewers (Slack, iMessage, Twitter), and overnight billing callbacks often arrive after you have already declared the launch a success. They are also the traffic most likely to look like a bot to a default managed ruleset.

The week after

11. Tune from evidence, not from fear. Turn off or narrow the rules that produced false positives. Keep the ones that produced real attacks. If you cannot tell the difference, you are not ready to run in blocking mode on that rule. Re-read custom rules you added "just for launch"; those are the ones nobody will remember in three months.

12. Add the WAF to the incident runbook and to certificate / DNS changes. A later DNS cut, a new origin IP, a new webhook path, or a new mobile user-agent will all re-open this. So will an expired certificate at the edge, or an origin certificate the WAF no longer trusts. The WAF is now on the hot path: treat changes to it like changes to the load balancer.

Things that regularly get missed

  • Rate limits stacked on rate limits. The WAF, the CDN, the app, and the API gateway each have one. Together they can 429 a burst of legitimate checkouts or a mobile app coming off airplane mode.
  • Geo or anonymizing-IP blocks. A travelling customer, a corporate egress in another country, or a provider's callback from a cloud IP in a region you "don't serve" will look like an attack.
  • The admin panel. If admin.example.com went through the same policy, you can lock yourself out of the tool you need to undo the policy. Keep a break-glass path that does not depend on the same ruleset.
  • IPv6. If the WAF or the origin only has a working v4 policy, you will ship a "works here" launch that fails for a slice of mobile networks.

Do not celebrate a quiet first hour. Celebrate a quiet first payment run and a quiet first Monday morning, with the bypass still written down.

Related reading

Have you turned on a WAF and immediately blocked something you needed? What was it, and how do you test that path now?