Apply Cloud SWG (formerly WSS) Policy to Subdomains
search cancel

Apply Cloud SWG (formerly WSS) Policy to Subdomains

book

Article ID: 169006

calendar_today

Updated On:

Products

Cloud Secure Web Gateway - Cloud SWG

Issue/Introduction

You want to:

  • block all sub-domains of a specific website
  • use a wildcard in a domain
  • allow a domain while still blocking the Parent domain
  • block a TLD (Top Level Domain).

Environment

Cloud Secure Web Gateway (Cloud SWG)

Resolution

Broadcom Cloud SWG does not support domain wildcards.

You should include only the top-level domain. The policy will match all subdomains.

Tip: You can use rule ordering logic to ensure other subdomains apply a different policy

#Rule 1 
test.example.com DENY

#Rule 2
example.com ALLOW

This will result in example.com being allowed but test.example.com still being blocked.

The same concept also works with Top Level domains, for instance

#Rule 1 
com BLOCK 

Will result in google.com being blocked