Hi there. Currently my Cloudflare SSL is working fine - pretty awesomely on my primary domain - I’ve also gone into the SSL/TLS app and enabled everything in the HSTS section; also, I’ve enabled all the Clouds in the DNS tab, but for some reason my sub domains don’t work.
Could someone post the actual necessary settings to get sub domains to work? I ask because a lot of the information I’ve found appears to be out-dated, and or simply not working.
Should I add an A or CNAME record? and if so in what way should it be written?
I hope someone can help cause a few of my sub domains are down now…
Thank you for your help…
P.S. also, in Chrome, the error message I get is:
server IP address could not be found
DNS_PROBE_FINISHED_NXDOMAIN
You probably have a DNS entry for ‘www’ and it has an IP address, or a CNAME. Add another DNS entry that looks just like the ‘www’ entry, but make it ‘sub’ (your subdomain) instead.
I think you have them backwards. In a CNAME record the first field is the new subdomain, the second is where it points (and assumes you’ve configured your server to accept traffic for the new subdomain already).
Do you have an entry for www.sub ?Sounded like you were trying to add sub. If you want to also add www.sub you’ll need an entry for it too (And Cloudflare’s free SSL cert won’t cover a second level domain like www.sub)
The error you posted was for www.sub.domain.ca. If that isn’t what you typed in your browser, then your origin server may be misconfigured to redirect sub.domain.ca to www.sub.domain.ca. If you did mean to type www.sub.domain.ca then you need a CNAME entry for www.sub which is (probably) identical to sub.domain.ca for the target.
Any DNS name needs to be explicitly defined otherwise a computer has no idea where to go.