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 example.com 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 192.0.2.1 or 8.8.8.8 and make sure the record is proxied . This will allow a redirect page rule to trigger.