I’ve been using Cloudflare for a while now, and everything was going pretty smoothly. I had a SSL certificate working on my wordpress website on https://sub1.domain.com.
However, I recently (>24h) created a second subdomain, but I can’t get SSL to work on https://sub2.domain.com.
I’m using Flexible SSL, I have a universal Cloudflare certificates which covers *.domain.com and domain.com. Both subdomains have the same DNS configuration in Cloudflare (orange clouds everywhyere), so I really can’t figure out where this problem is coming from. I checked the numerous posts related to that subject but couldn’t solve the problem.
Any idea would be greatly appreciated!
Many thanks for your help.
That’s actually a sub-subdomain (second level subdomain). Cloudflare’s SSL certificates don’t cover that deep of a subdomain. They only cover example.com and sub.example.com. If you want to go down to www.sub.example.com, you will need the $10/month Dedicated SSL Certificate With Custom Hostnames, then add that (and any other) second level subdomain to the certificate.
Hi again. Once again, many thanks for your help. Would you know what might be causing this redirection? I’ve tried setting a rule in my .htaccess to redirect www to non-www, though it only created a redirection loop. I’ve checked all possible options from my provider and couldn’t solve it.
Checking my Cloudflare configuration, both subdomains have exactly the same configuration, so I’m running out of options. My current configuration is as follows:
A / domain.com / IP
A / sub2 / IP
A / sub1 / IP
A / www.sub2 / IP
A / www.sub1 / IP
CNAME / www / alias of domain.com