It looks like cloudflare is redirecting users to another website

Cloudflare is redirecting my website freerefill.net (www and non www) to hacky website :
expathdtv.com

I’ve checked our server / site and there is no redirect. To verify I updated my host file to point directly to the local IP and the site if fine, no redirects. Checked firewall and NAT’s are good.

When I use fiddler to inspect traffic it seems that DNS is redirecting (sometimes) to this other website.

When I checked the DNS Tool box it shows 3 A entries for freerefill.net all of them are Cloudflare.

This just happened today out of the blue.

I upgraded that site to pro and enabled proxy .

Any ideas?

Seems like HTTP version of the Website is cached and goes to the HTTPS :thinking:

HTTP/1.1 301 Moved Permanently
Date: Fri, 24 Mar 2023 23:51:08 GMT
Connection: keep-alive
Cache-Control: max-age=3600

Therefrom, HTTPS has 302 redirect:

HTTP/2 302
date: Fri, 24 Mar 2023 23:51:58 GMT
content-type: text/html; charset=UTF-8
location: http://expathdtv.com/x-men-dark-phoenix.html

And that expathdtv.com Website has an error

WWW version goes 302 to the non-www.

May I ask how did you enabled and/or integrated Cloudflare for your domain name? :thinking:

Are you using some Page Rules to do the redirect at Cloudflare?

Hi @fritex,

We simply sent our nameservers to Cloudflare and setup * to point to our server. I had a cname for www which directed to * by default. It’s been working for over two years with no issues. No redirect, no page rules of any kind. I just now cleared the cache. Just all of the sudden Cloudflare is redirecting to that strange site.

I’ve since set my DNS to proxy and upgraded to pro. It’s a pretty vanilla site, rules. The only thing we did that was kinda recent (6 months ago) is installed win-acme to create Let’s Encrypt SSL certs for the site.