DNS Settings for Redirect

Hey guys, im trying to setup a URL redirect via Cloudflare as I just transfered my domain from Google Domains. Heres my current DNS setup, but im getting an error of too many redirects
No description
10 Replies
starman
starmanOP11mo ago
and this is my current page rule
No description
Chaika
Chaika11mo ago
jarzynowski.com works fine for me
No description
Chaika
Chaika11mo ago
www times out though, missing a redirect on that
starman
starmanOP11mo ago
should I add a page rule for www?
Chaika
Chaika11mo ago
I would yea, could just do the same, just in case someone visits there. You've already got the dns record for it
starman
starmanOP11mo ago
sounds good, let me try it also, I was having trouble adding a subdomain id like the url, say for example go.jarzynowski.com/in to redirect to my linkedin
starman
starmanOP11mo ago
yeah www works now
No description
Chaika
Chaika11mo ago
you'd have to create a dns record for it, ex: AAAA go 100:: Proxied then a redirect rule or page rule
starman
starmanOP11mo ago
thanks! does it matter what the IP is set to, I just set to the default 192.0.2.1
Chaika
Chaika11mo ago
CF recomends either:
In the case a placeholder address is needed for “originless” setups, use the IPv6 reserved address 100:: or the IPv4 reserved address 192.0.2.0 in your Cloudflare DNS to create a proxied DNS record that can use Cloudflare Redirect Rules, Page Rules, or Cloudflare Workers.
https://developers.cloudflare.com/dns/troubleshooting/faq/#what-ip-should-i-use-for-parked-domain--redirect-only--originless-setup The main idea is just to not actually route the traffic anywhere if your rule breaks. I prefer 100:: because it's specifically designated to be a "blackhole"/discard all traffic going into it of course, doesn't matter if it's A or AAAA when it's proxied as CF responds to both A/AAAA queries with their own Proxy IPs

Did you find this page helpful?