Scope of firewall rule

Newbie here, I have a saas app - call it newbie. the marketing site is www.newbie.com and the actual saas app is located at us.newbie.com. When i sign into Cloudflare i see prompt to choose my web site, I only have one, and my only choice is newbie.com. So i go to security and create a firewall rule to limit access to my web site to only visitors in the US. That seems to work, ie no visitors from outside the US can access newbie.com. My question is how do I write a firewall for the subdomain us.newbie.com, ie i also want to allow only US visitors to access my app site? Thank you

Firewall rules can access a lot of fields - in this case, add another expression (using and) to match http.host to us.newbie.com

https://developers.cloudflare.com/ruleset-engine/rules-language/fields/

Excellent - thank you!

1 Like

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