DNS record CNAME to redirect

I need to create a DNS record that redirects the subdomain resources.example.com to the subfolder example.com/resources.
Is this possible in Cloudflare?
I have tried with a CNAME name:“resources”, content: “example.com/resources” but it doesn’t work.

CNAME records do not redirect.

You can create Redirect Rules for redirecting in Cloudflare. Note that this still requires the hostname resources.example.com to have a proxied DNS record (A/AAAA/CNAME).

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.