My redirect rule not working

Hi, can’t really understand why my redirect rule, named “Redirect 01”, is not working.
Rules > Redirect rules > All incoming requests > to > Static > url > Status code 301
Website of destination is not reachable, with error DNS_PROBE_FINISHED_NXDOMAIN (Chrome).
I have two A records on DNS, wiith a dummy IP 192.0.1.2.
Nameservers are correctly with Cloudflare.
Any ideas?
Thanks in advance for help.

Can you show a screenshot of your rule and the URL that you re-directing from?

Yes, sure, thanks.


This is the rule, domain on Cloudflare redirecting from is 88netpartyradio.com


This is the rule, in further detail

1 Like

Your redirect is working ok…

curl -I http://88netpartyradio.com/
HTTP/1.1 301 Moved Permanently
Date: Mon, 10 Jun 2024 06:32:42 GMT
Content-Type: text/html
Content-Length: 167
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Mon, 10 Jun 2024 07:32:42 GMT
Location: https://www.88net.co.uk/partyradio/
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=LznC1%2FOMr8rk%2F9Kq%2B3%2BLiLr%2BXeY86ESwleqaUHVVPvtqZKNyzKDOcpfFnRn8%2BcwkuWAsmknM7SK%2FZA0pJr9WR5Ab5s84u%2FCn8PpiaMO%2BfpBlokw0G5npw7blH3O3oT5vsqLcXb6eJTqxXOi0AiRyo8%2Bi"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 89175363095d9562-LHR

https://cf.sjr.org.uk/tools/check?7bca8866ae044206b0f56668c673e5e4#connection-server-https

If it’s not working for you, try clearing your browser’s cache.

1 Like

Thanks! Did you actually see the redirect working on a browser, with your eyes? I still can’t see it working.
Flushed the cache on Cloudflare. Tried with different devices, flushed DNS cache on devices, cleared browser’s cache, did everything I could but no luck.

The redirect is working fine. The target link is stalling, but that’s nothing to do with your redirect.

Thank you.


To test that, I changed the target link as above, but still can’t have this redirect working.

It is…

curl -I http://88netpartyradio.com/
HTTP/1.1 301 Moved Permanently
Date: Mon, 10 Jun 2024 08:43:16 GMT
Content-Type: text/html
Content-Length: 167
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Mon, 10 Jun 2024 09:43:16 GMT
Location: https://www.google.com/
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=fSEsTfCO5wEoHNpQKlkcXq38yxFCx6Z0mnD30LBbJoBHc3UlV3GouX7sU6ptdU%2B46LGk4P6d1hKdCged0QL3GxTRZeA%2FRnteXlRKN9Ggsu%2BC%2BYTRO3QLy76U9Rs7ETcJZZoWCQjAJdwOODoxRZE4HAOS"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 891812a2782d23e4-LHR

https://cf.sjr.org.uk/tools/check?859a3fe64db8418192faa4af4335aa89#connection-server-https

Again, these are 301 (permanent) redirects so will be long cached by your browser. Clear your browser cache or use private/incognito mode. There is no problem with the redirect as configured on Cloudflare.

Thank you for claryfing.
image
This redirect doesn’t work, on any device, from any network, regardless any browser, DNS cache and Cloudflare cache that have been cleared/purged. Tried several times from different browsers/devices/networks.
Also, the target destination is not stalling, as that has been changed to Google.com and also the above response on browser suggests is not that the case.
I’m short of ideas or solutions, and your hint that the redirect works ok adds more confusion in my head, don’t know what to think.

The screenshot shows the domain isn’t resolving for you, so doesn’t get as far as the redirect. You will need to check your DNS resolver as it resolves everywhere else…

https://cf.sjr.org.uk/tools/check?bb4dbfb1ab78402f89bf4744b290d668#resolvers

1 Like