Invalid CNAME target. You aren't allowed to use records with partial suffixes (Code: 9059)


#1

Hello,
I’m trying to create cname record for my domain.
base url:
api.example.com CNAME api.example.com.cdn.cloudflare.net
And getting this error message.

DNS Validation Error (Code: 1004): Invalid CNAME target. You aren’t allowed to use records with partial suffixes (Code: 9059)

Please advice what’s is wrong here?

Thank you.


#2

The CNAME need to point to a valid host entry.


#3

As @sandro mention you need to point to a valid entry, not .cdn.cloudflare.net


#4

Thank you for the help.
Appreciate it.