How do I block my subdomain with Firewall

Hi there,
I want to block my subdomain public access with IP

Suppose my subdomain is &
So I want to access this page only from my IP address and block form others.

Can someone help me to do that?

A firewall rule like this will do the job.

Alternatively, use Zone Lockdown if you have a Pro plan or higher.


Hi Eric
Thanks for your kind reply. I followed your instruction but nothing changed. User from different IP address still access my admin subdomain.

Is your subdomain proxied :orange: ?

Hi Eric,

No point as DNS only

DNS only = all traffic will be routed to your server directly. No Cloudflare will be involved in between.

You should enable proxy :orange: if you want to use most of the features in Cloudflare, including WAF.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.