Can I CNAME a domain not on Cloudflare to a domain that is on Cloudflare?

Trying to use a CNAME to redirect traffic for a domain not on Cloudflare to a domain that is on Cloudflare will create a DNS resolution error. Since Cloudflare is a reverse proxy for the domain that is on Cloudflare, the CNAME redirect for the domain (not on Cloudflare) wouldn't know where to send the traffic to.

If you would still like to do a redirect for the site not on Cloudflare, then you should establish a traditional 301 or 302 redirect on your server.

Still not finding what you need?

The Cloudflare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk