Quantcast
Channel: Sophos User Bulletin Board
Viewing all articles
Browse latest Browse all 14361

Want to block subdomain, but...

$
0
0
I want to try and block a sub-domain on a site, but not the domain name itself, mostly trying to block ads from the site.

What would be the best way to also block the sub-domain that has multiple subs, but have a common sub name?

For example, the domain has multiple subs such as cont-dc-1.domain.com, cont-dc-2.domain.com, etc. They will be picked at random and then advertise the ads.

So I really would like to block cont*.domain.com, or cont-dc*.domain.com.

How would I be able to apply a filter?

^https?://[A-Za-z0-9.-]*domain.com/ ?

Viewing all articles
Browse latest Browse all 14361

Trending Articles