Forum Moderators: phranque
[edited by: phranque at 8:22 pm (utc) on Oct 28, 2017]
[edit reason] exemplified domain [/edit]
<iframe>https://example.com/</iframe>
<script type="text/javascript">
if (parent.frames.length > 0) {
parent.location.href = location.href;
}
</script>
Header set X-FRAME-OPTIONS "deny" Header append X-FRAME-OPTIONS "deny" i add the 2nd code into my .htaccess file and i got 500 internal server error500 errors tend to be caused by embarrassing typos on your part. (Ask how I know this :() Check for basics like trailing (or leading) blank spaces at the end of the line: some areas of Apache don't care, but others throw fits.
[edited by: phranque at 12:08 am (utc) on Oct 29, 2017]
[edit reason] download links [/edit]
Require all granted
[edited by: lucy24 at 12:16 am (utc) on Oct 29, 2017]
what if i change my server/web IP address will this fix my problem?No, after the DNS propagates to all the ISPs (where the browsers get it) the domain name will point to your new IP.
Those IP ranges belong to Cloudflare so the behavior makes sense. The owner of the domains you see probably has them still configured in Cloudflare with your VPS IP as target.
If you do not want the requests to reach your server, you may block the Cloudflare IP ranges on your server via firewall. The networks are listed here:
https://www.cloudflare.com/ips/
Here is an example iptables rule:
iptables -I INPUT -s 104.16.0.0/12 -j REJECT
The domain fakedomain.com does not appear to be using an iframe to fetch the data from your server. It is more likely that it is getting the data through some other method and automatically editing the source code to replace the links. We could try a few different approaches to block this behavior, unfortunately this exceeds our regular support and would have to be done by one of our specialists. This service would have to be charged with 25.00 EUR per 15 minutes and parts thereof. We do not know how long it would take to find a working solution for this, but we expect it to take at least 45 minutes, which is why we would need a payment of at least 75.00 EUR upfront. In case we find a solution faster than expected, we would of course only charge for the time we actually needed and the remaining amount would stay in your user account to cover future invoices. In case the estimated time does not suffice, we will of course contact you again before additional costs arise. Got a PM with the actual domains. The other sites are using cloudflare it appears. One domain is indeed no longer resolving. The other is showing OP's page and not removing their name from it. This leads me to think cloudflare is pointing to the server IP. The good news is, you can block cloudflare's grabs easily but putting denies in .htaccess for their IPs.