Routing subdomain to path on main domain
Hello all,
I am trying to modify a cname record for one of my domains. I would like to have blog.example.com redirect to example.com/blog. I think I should be able to do so using DNS, right ?
1 Reply
@matteog CNAME's only redirect for the purposes of DNS resolution. You should use Redirect Rules for what you're attempting to do: https://developers.cloudflare.com/rules/url-forwarding/
Redirects · Cloudflare Rules docs
URL forwarding, also known as URL redirection, navigates the user from a source URL to a target URL with a specific HTTP status code.