Forum Moderators: phranque

Message Too Old, No Replies

Strange domain redirecting to my site

         

strunch

12:18 pm on Oct 13, 2016 (gmt 0)

10+ Year Member



There is a strange domain that is redirecting to my business site. I don't know the purpose of this but I don't like it...google is indexing my content and associating it with this fake domain. Is there a htaccess rule I can use to redirect these incoming requests? Also, why would anyone do this? Is this a competitor trying to damage my rankings? Thanks for any help?

strunch

1:17 pm on Oct 13, 2016 (gmt 0)

10+ Year Member



Tried this but not working

RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} badsite\.com [NC]
RewriteRule .* - [F]

Both my site and this strange domain are using cloudflare.

strunch

11:28 am on Oct 14, 2016 (gmt 0)

10+ Year Member



Ok, I see a lot of user agent strings in my log file with this bad domain, some from search engine crawlers and many from site uptime checks. I hope to block these requests by using this:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*(-|.)?baddomain(-|.).*$ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(baddomain).* [NC]
RewriteRule ^(.*)$ - [F,L]
</IfModule>

But I still don't understand, if i type this bad domain in my browsers address bar it still points to my site. Why aren't my htaccess rules stopping this? I feel this bad domain does not have a host, they simply are using free cloudflare to redirect their domain to my site. I suppose I could block cloudflare but I don't want to do this since I am using it myself. Any thoughts would be appreciated. Thanks.

keyplyr

11:37 am on Oct 14, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have you contacted cloudflare and complained?

strunch

11:49 am on Oct 14, 2016 (gmt 0)

10+ Year Member



Yes, I wrote them yesterday and am awaiting a reply. I also contacted the bad domains name registrar.

keyplyr

11:55 am on Oct 14, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Well they would have the solution. Normal regex blocking methods not working may be related to cloudflare's routing schema.

strunch

2:18 pm on Oct 14, 2016 (gmt 0)

10+ Year Member



Cloudflare just told me that they aren't a hosting company and that I should focus on the ip address that the bad domain resolves to, which is me. So essentially they told me to block myself. I guess I am powerless against this attack. Hopefully it won't cause my domain too much damage. Perhaps if i knew the true ip of the bad domain it would help, but when i look it up, it lists my domain ip and since it is using cloudflare i cannot see this domains true ip address......*confused*

strunch

10:29 pm on Oct 14, 2016 (gmt 0)

10+ Year Member



Ok issue resolved. Received another response after I explained more clearly what was happening.

"Hello,
The domain owner of baddomain.com removed the A record and the issue should be resolved now.
Regards,
Cloudflare Trust & Safety"