I’ve added my alias domain into Cloudflare and am redirecting URL traffic to a site not managed in Cloudflare. I’ve added in Redirect Rules, where I’ve got 2 rules successfully working to redirect to the subdomain of the Cloudflare domain to the subdomain on the non-Cloudflare domain, but I can’t get this working for the root or www subdomains. I’ve also tried with CNAMEs. I just get a “Can’t find this page” without a specific error code. I don’t have an A record in place for the root or the www either.
Hi, thanks for responding. I’ve set an A record (I assume using AAAA isn’t going to act differently with IPv6) as ensured the proxy was set on. Pointed it to my web server’s IP, though I assume this shouldn’t matter as the redirect should override that. However, it’s just hitting the web server host’s landing page rather than using the redirect.
Ok I’ve got a little further, adding the A record has fixed it for the root domain and that is now redirecting. I can’t seem to get the www. sending there however, even with an A record added for it, and using either a wildcard or dedicated redirect rule for it.
Ah, I’d just posted the image with settings and it started working! Strange, as I’d tested with fresh in-private browser sessions too but the www had been delayed amongst the setting changes I’ve been making. Possibly the cache on CF needed to update and I’d not manually cleared that. Thank you!