Https not working geeting error of 502

ssl
subdomain

#1

Hello support,

I have wildcard SSL certificate. My main domain is “drivelinebaseball.com”. I have created sub-domain(staging.drivelinebaseball.com) but wildcard SSL not point to my subdomain. My main website working with https but my subdoamin website not working with https. I need your help. Would you please help me

Thanks
kyle


#2

Can you recheck your SSL mode on Cloudflare Dashboard and if they are set up to Full mode, ensure that SSL are also installed on the staging subdomain origin server.


#3

You can find more info about 502 errors in this knowledge base article.


#4

SSL for sub-domains is not supported in free plan AFAIK.


#5

SSL is supported for first-level subdomains on the free plan

Cloudflare-issued SSL certificates cover the root-level domain (eg- example.com) and one level of subdomains (eg- *.example.com). If you’re attempting to access a second level of subdomains (eg- ..example.com) through Cloudflare using the Cloudflare-issued certificate, a HTTP 403 error will be seen in the browser as these host names are not present on the certificate. If you need to have SSL working for these type of host names you would either need to purchase a Dedicated Certificate with Custom Hostnames through Cloudflare, purchase your own SSL cert and upload it to us as a Custom SSL Certificate or grey-cloud this DNS record so the traffic goes directly to your origin server.