I’ve set up Discourse using the Discourse Standard Hosting discourse.org.
Discourse is set up at the root domain: https://www.worldcitizen.io
https://www.
works, but https://
does not.
https://www.worldcitizen.io
navigates correctly to the Discourse setup with a Let’s Encrypt certificate. https://worldcitizen.io
however shows a NET::ERR_CERT_COMMON_NAME_INVALID
and sends you to a discourse.org
page where it says “Sorry, the site you are looking for does not exist.”, but it still shows the https://worldcitizen.io
domain in the address bar, but indicated as insecure since it’s running on a .discourse.org certificate.
The domain is registered with DreamHost, but the DNS is running on Cloudflare for CNAME Flattening - allowing for Discourse to run on the root domain.
I’ve set up the DNS on Cloudflare with two DNS records:
CNAME // worldcitizen.io // worldcitizen.hosted-by-discourse.com. // TTL Auto // DNS only
CNAME // www // worldcitizen.hosted-by-discourse.com. // TTL Auto // DNS only
I previously had the domain running on another service which did automatically set up SSL certificates for the domain through Let’s Encrypt. Could that be what is causing some mismatch now? Is the https:// just not set up to direct correctly to the Discourse? Or, is something else wrong in my setup?
Any assistance is greatly appreciated. Thank you!