WAF rule to block traffic from spammy domains

What is the name of the domain?

chacccouk ‘chacc.co.uk

What is the issue you’re encountering

spammy domains redirecting to our domain

Was the site working with SSL prior to adding it to Cloudflare?

Yes

What is the current SSL/TLS setting?

Full

What are the steps to reproduce the issue?

I discovered that the domain usechacc.xyz and getchacc.click is redirecting traffic to my website chacc.co.uk. This domain does not serve any content but redirects directly. I want to create a Web Application Firewall (WAF) rule to block similar spammy redirects while ensuring legitimate traffic is unaffected.

Create a rule with Referer is in “usechacc.xyz” “getchacc.click” then block

1 Like

Good day,

You may want to consider configuring to trigger action block for the hostname

Thank you !

I have tried this but it is not working.

Can you guide me with specifics of field, operator and value fields in this rule.

I selected following action from dropdown

can you guide me what action should I choose?

Just remove the Hostname fields from your rule. The Hostname should be YOUR domain and is not needed in this case.