Cloudflare DNS

What I’m trying to do

I’m trying to get a custom domain working with Cloudflare. I’ve set a CNAME for to point to and a page rule for www to point to the main page.

I’m getting an error message for the main CNAME that it can’t be used on the zone apex but CNAME flattening is being used.

Right now when I visit my domain I’m getting errors.

I’m getting an error message from Cloudflare that reads as follows:

Required steps to complete zone set-upHide

Add an A, AAAA, or CNAME record for www so that will resolve.

Things I have tried

There’s no information on how to resolve this in the documentation or on the forum. Do I need to do something else to get this working?

Here is the page rule:*

Forwarding URL (Status Code: 301 - Permanent Redirect, Url: $1 - ChangeNode)

To clarify, it looks like is resolving correctly, but fails on the redirect.

There is. It’s in the docs

After you’ve created the page rule, create a CNAME record for just like you did for

Looks like it was some sort of DNS cache related thing. Cleared up by itself, presumably after a bunch of TTLs expired. Sigh.

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