403 - Forbidden: Access is denied with CNAME

I am using Windows Server 2019 with IIS.
I have two domains in my account lets say domainA and domainB
On domainA i have a sub domain abc.domaina.com that is proxied to my server IP and is is working OK with SSL.
On domainB i have set a CNAME bbb to point to abc.domaina.com and successfully configured Host and Free SSL on my IIS.
Problem 1: when trying to access bbb.domainb.com that is CNAME to abc.domaina.com I am receiving the error “403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied.”
Problem 2: If i am using a CNAME on domain that is not on Cloudflare to abc.domaina.com it is no even reachable.

How do I solve this problem please?

Are you getting a 1014 error?

If so, I suspect that domaina and domainb are in two different accounts, is that correct?

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