Can't point another domain on cloudflare subdomain

#1

I’ve created subdomain on cloudflare: mysubdomain.example.com
Created simple worker for it that returns ‘hello world’. When I accessing the website using mysubdomain.example.com — everything works fine.

Now, on another cloudflare account I’m adding CNAME for root domain another-domain.com pointing to mysubdomain.example.com.
It does not work — Error 522 Connection timed out.

I tried to use another DNS service — also does not work — Error 1001 DNS resolution error

The core idea is to allow clients point their domains on my app.

Where could be the issue?

#2

You can’t CNAME to other domains at Cloudflare unless you’re on a Business or Enterprise Plan.

1 Like
#3

It speaks about subdomains. Can I CNAME root domain using another cloudflare account — cname flattening, or using ANAME/ ALIAS feature of other DNS?