Otis
CDCloudflare Developers
•Created by Otis on 2/10/2024 in #general-help
Redirect Rule to DNS-Only CNAME subdomain
Hello, I'm trying to use Cloudflare to perform a redirect from my apex domain (example.com) to a subdomain (sub.example.com). The "sub" subdomain itself is a CNAME record (DNS-Only) that points to another host.
However, when I setup my Redirect Rule to 301 redirect to www.example.com, I noticed that Cloudflare continues to proxy everything to www.example.com. (same IP over port 89) How do I prevent that? I just want Cloudflare to handle the initial redirect, then let the server at CNAME take over. Which I thought would be the case by having the CNAME set to "DNS-Only".
Thanks!
4 replies