I have the following workflow:
We have a subdomain in our Cloudflare account, pointing to an IP address. If we try and access the subdomain directly, it works fine, proxied, on not proxied.
Now, our CDN, which is AWS in this case, uses a subdomain of *.cloudfront.net.
And it points to the subdomain of our website.
For example, if our subdomain is “subdomain”. In Cloudflare it is configured as the following: “subdomain” → 18.104.22.168( whatever ip we are using)
And in AWS the configuration is:
*.cloudfront.com → “subdomain”
Now, if you check connectivity of the AWS CDN when the proxy is off on the subdomain, it works fine.
But when we enable the proxy, we get error 1001.
From what I read here  the non-Cloudflare domain must be added to a Cloudflare account.
This is not possible, as I can’t, since this is related to AWS CDN. I cannot just move the CDN to be hosted on Cloudflare.
I have read that there is the option of SSL for Saas , also a thread that suggested this as well .
But this is only available for enterprise plan, and we have business plan.
Is there any workaround for this issue?
Enterprise plan is not an option in our case, it costs too much, and the relevant features in business are quite acceptable at this stage.
Would love to get a help on this issue
 Error 1001: DNS resolution error