Configure A record reroute to CNAME when Host does not resolve


I have configured CloudFlare on top of Azure DNS, which it seems does not support A record configuration, so CloudFlare gives me this message

An A, AAAA or CNAME record was not found pointing to the root domain. The domain will not resolve.

Is there a way to configure routing to a CNAME (like www for instance)? I have tried the guides here, but I think because the domain does not resolve, the page rule never happens. What are my options here?


Cloudflare allows CNAME records at the root level, then uses CNAME flattening to return the current A record of that CNAME instead of returning an actual CNAME record.

If you would rather to have traffic go to www instead of your root domain, just create a A record at the root, and point the IP to something like or and make sure the record is proxied :orange:. This will allow a redirect page rule to trigger.

1 Like
closed #3

This topic was automatically closed after 31 days. New replies are no longer allowed.