Get the latest tech news
How to Redirect a Cloudflare Domain to Another URL
Every time I find myself trying to re-learn something I'm taking the time to document. Here's one simple example: I'm a fan of Cloudflare domains because they are at cost purchase and renewal and don't have much of the spam and upselling comm with many other domain providers (like those
I've spent enough time relearning how to do a simple static redirect (instead of Cloudflare's more complicated dynamic version) by digging through Cloudflare docs and forum posts that it was worth codifying how to do the process to save myself time in the future. This creates two A records that point to an IPv4 reserved address set by the IETF for examples. URL redirect → Status Code: Usually 302= Temporarily unavailable or 301= Permanently moved.
Or read this on Hacker News