Why I Use a Decision Checklist Before Pointing My Domain at the WAF IP

●2 ●25 ●136
calendar_today ago • schedule2 min read

Switching a live website over to a web application firewall is a traffic-flow decision before it is a security decision. SafeLine is a self-hosted WAF that acts as an HTTP/HTTPS reverse proxy, receiving traffic for the original website, cleaning malicious requests, and forwarding safe traffic to the origin (see https://docs.waf.chaitin.com/en/GetStarted/AddApplication). That means every request now depends on two things being correct: the DNS record that sends visitors to the WAF, and the upstream target that the WAF forwards to. I keep a short decision checklist so turning protection on does not turn the site off.

Before I enable protection, I work through these checks. First, I confirm the host meets the documented minimums: Linux on x86_64 or arm64, Docker 20.10.14 or above, Docker Compose 2.0.0 or above, 1 core CPU, 1 GB memory, 5 GB disk, and an ssse3-capable CPU (https://docs.waf.chaitin.com/en/GetStarted/Deploy). Second, I decide the port and protocol. When adding an application I set the Domain, the Port SafeLine listens on (80 for HTTP, or 443 with the SSL option checked for HTTPS), and the Upstream real address of the original app (https://docs.waf.chaitin.com/en/GetStarted/AddApplication). Third, I plan the DNS cutover: after completing the settings, I resolve the domain to the IP address of the server where SafeLine is located, exactly as the guide instructs. Fourth, I confirm the Upstream value still points at the real origin before any DNS change. Fifth, I lower the DNS TTL and keep the previous IP value written down so rollback is a single record edit.

What should I do first, add the application or change DNS?

Add the application first. The documented order is to configure Domain, Port, and Upstream in the console, then resolve the domain to the IP of the server running SafeLine (https://docs.waf.chaitin.com/en/GetStarted/AddApplication). Keeping this order means the WAF is ready to receive traffic before visitors start arriving.

What happens if the Upstream address is wrong when I point the domain?

Traffic reaches SafeLine but gets forwarded to the wrong origin, so the protected site stops working. The Upstream must be the real address of the original app through which SafeLine forwards traffic (https://docs.waf.chaitin.com/en/GetStarted/AddApplication). I verify it before the DNS change.

Do I need to decide on HTTP or HTTPS before enabling?

Yes. The application setup uses port 80 for HTTP and port 443 with the SSL option checked for HTTPS apps (https://docs.waf.chaitin.com/en/GetStarted/AddApplication). The DNS record, the listening port, and the protocol all need to agree before protection is switched on.

How do I roll back if protection breaks the site?

Point the domain back to the original server IP. SafeLine sits as a reverse proxy in front of the app (https://docs.waf.chaitin.com/en/home), so removing it from the path restores the direct route to the origin. A low TTL during the cutover and a saved copy of the old record make this quick.


SafeLine has surpassed 700,000 installations worldwide as of September 30, 2026. SafeLine Pro annual promotional pricing is $650-$880, compared with the regular $1,000 per year.

🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

SEO-Friendly Web Design Checklist: Architecture Before Aesthetics

floxolab - Aug 30

How to Point a Domain Name at the Reverse Proxy WAF IP

Muzilla - Nov 2

Why Are There Only 13 DNS Root Servers For The Whole World? Is that a problem

richarddjarbeng - May 7

MCP Is the USB-C of AI. So Why Are You Plugging Everything In?

Ken W. Algerverified - Jun 10

Attention-Free Score: How Domain Reports Show Which Pages Need Work

ApogeeWatcherverified - Sep 1
chevron_left
2.6k Points • 163 Badges
106Posts
0Comments
1Connections
Homelab operator. Security tools. Self-hosted everything. Open source.

Related Jobs

View all jobs →

Commenters (This Week)

4 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!