Hi,
I've found out that another website is somehow displaying my website on their domain. So if I type in their url/domain into a browser my content is loaded at their domain. I assume they have set my servers ip address in a dns record.
I have contacted cloudflare which they are using and their host to try to get it taken down. But would appreciate any advice on what I can do from my side to stop it happening in the meantime.
Edit to say - using the below code at the top of .htaccess works:
RewriteCond %{HTTP_HOST} ^(www\.)?badwebsite\.com$
RewriteRule ^/?(.*) http://www.bbc.co.uk/$1 [QSA,R=301,L]
Thanks, Keith
I've found out that another website is somehow displaying my website on their domain. So if I type in their url/domain into a browser my content is loaded at their domain. I assume they have set my servers ip address in a dns record.
I have contacted cloudflare which they are using and their host to try to get it taken down. But would appreciate any advice on what I can do from my side to stop it happening in the meantime.
Edit to say - using the below code at the top of .htaccess works:
RewriteCond %{HTTP_HOST} ^(www\.)?badwebsite\.com$
RewriteRule ^/?(.*) http://www.bbc.co.uk/$1 [QSA,R=301,L]
Thanks, Keith
Last edited: