Redirect Page Rule Not Working

Hey, So I could be completely wrong here in how I'm trying to achieve my goal. I've read several pages on the help center and have not been able to solve my issue. I'm trying to redirect my entire domain to an external URL under 302. I am currently trying to use page rules as directed (https://developers.cloudflare.com/rules/page-rules/how-to/url-forwarding/) but I may be doing something wrong. At the moment I haven't really changed anything in the configuration so I may have missed something. Currently when trying to visit the domain it does nothing, I've tested subdomains and paths to see if that triggers the catch-all. Thanks!
Cloudflare Docs
URL forwarding | Page Rules · Cloudflare Rules docs
Page Rules allow you to forward or redirect traffic to a different URL, though they are just one of the options provided by Cloudflare.
No description
No description
8 Replies
Chaika
Chaika4mo ago
Currently when trying to visit the domain it does nothing,
what is "nothing"? what error?
PixelNinja
PixelNinjaOP4mo ago
Apologies, forgot to attach a screenshot:
No description
Chaika
Chaika4mo ago
ahh ok. It looks like you didn't make originless records. You need a proxied DNS Record to get the traffic flowing to Cloudflare. Cloudflare recommends 100:: (IPv6 Discard). Under DNS -> Records, create AAAA * 100:: Proxied and AAAA @ 100:: Proxied, then just wait for DNS Cache to expire
PixelNinja
PixelNinjaOP4mo ago
So unless I need to set some base DNS records for it to work off of? I see, thank you! I'll give that a go
Chaika
Chaika4mo ago
(it doesn't matter these are IPv6/only AAAA, since they're proxied, CF will respond with A/AAAA Proxy IPs on edge accepting both v4/v6)
PixelNinja
PixelNinjaOP4mo ago
Thanks! I'll wait and see once it updates
Chaika
Chaika4mo ago
looks good to me now
chaik@ash:~$ curl https://rossrenders.uk/hi -vvv --silent 2>&1 | grep 'location'
< location: https://youtube.com/@RossRenders
chaik@ash:~$ curl https://gfhigfohgfdihogdf.rossrenders.uk/hi -vvv --silent 2>&1 | grep 'location'
< location: https://youtube.com/@RossRenders
chaik@ash:~$ curl https://rossrenders.uk/hi -vvv --silent 2>&1 | grep 'location'
< location: https://youtube.com/@RossRenders
chaik@ash:~$ curl https://gfhigfohgfdihogdf.rossrenders.uk/hi -vvv --silent 2>&1 | grep 'location'
< location: https://youtube.com/@RossRenders
Might have local dns cache on your machine/resolver tho that you'll have to wait to expire/manually clear/switch
PixelNinja
PixelNinjaOP4mo ago
Thanks! Yeah I'm just waiting for it to expire at the moment, might clear manually if it takes a while Ah it just worked. ty!
Want results from more Discord servers?
Add your server