I need help to solve the following error.
We are setting up a white label environment for our customers to point a CNAME record (outside Cloudflare) to a Cloudflare-protected server of ours.
We handle requests in our environment by parsing the servername flag in NGINX. For this a customer points a subdomain (eg clientsubdomain.domain) via CNAME to our Cloudflare-hosted subdomain (eg white-label.ourprotecteddomain.com). We have an A type record white-label.ourprotecteddomain.com pointing to our destination server, but we are getting error 1016 - Origin DNS error.
In our tests using our other Cloudflare-protected domains, everything is normal, but the customer doesn’t use Cloudflare services.