SSL certificate for a CNAME subdomain
Hello,
I'm using a CDN service and I decided to map it to a subdomain of my domain. I added the CNAME entry but I cannot purchase and install a SSL certificate on that subdomain.
Basically the CNAME is cdn.mysite.com to cdn.mycdnprovider.com
When I try to purchase a SSL certificate for my "cdn" subdomain (I created one manually since cPanel can't see it), it tells me " A DNS (Domain Name System) or web server misconfiguration may exist. The domain "cdn.mysite.com" resolved to an IP address "x.x.x.x" that does not exist on this server. DNS-based DCV also failed. "
I'm now sure what to do and resolve this, if I don't add a certificate I cannot use cdn.mysite.com.
-
You'd have to create the sub-domain via cPanel for cPanel to 'know' about the sub-domain and map it to a folder for Apache. 0 -
You'd have to create the sub-domain via cPanel for cPanel to 'know' about the sub-domain and map it to a folder for Apache.
I already did that, wrote it in my post...but it doesn't solve it since cPanel tells me that error I specified0 -
if you guys have any ideas, I'd appreciate them 0 -
Because you've redirected it to your CDN you'd need to create the SSL where the domain resolves to - so you'd create it at your CDN provider (pending they allow that) cdn.mysite.com is just a CNAME and wouldn't actually get an SSL via autossl because it doesn't actually resolve to the server. 0
Please sign in to leave a comment.
Comments
4 comments