How to configure this DNS setup?

Let’s say I have in Cloudflare.

Now I want to have a CNAME record pointing to and then have a page rule to forward to

So after creating the page rule I’ve created an A record for www pointing to so that the page rule applies and this seems to work.

But now for some reason the CNAME that points to is not resolving at all.

Can someone give me hand?

That wont work, as a naked domain cannot be a CNAME and will automatically turn into a flattened A record, regardless of whether proxied or not.

If you want a CNAME you will have to use a proper hostname of that domain.

1 Like

Thanks @sandro .

I thought CNAME flattening would solve that.

It does :slight_smile: but it flattens it into an A record.

1 Like

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