I need to simply do a redirect on my website

How do a I do a redirect from my Cloudflare domain to a different domain?

Create a redirect rule here…
https://dash.cloudflare.com/?to=/:account/:zone/rules/redirect-rules

Copy this example…

Then you need to create a DNS record for the domain you are redirecting from in your Cloudflare dashboard…
https://dash.cloudflare.com/?to=/:account/:zone/dns/records

Add a proxied dummy value of A 192.0.2.1 or AAAA 100:: as the domain is being redirected and there’s no real origin server.

1 Like