Hello,
I have a site with only a Discourse installation on it (don’t plan to have anything more than the forum).
Now I want to redirect the non-www domain to www.domain.it but also if I reconfigured Discourse via ./discourse-setup changing hostname to www.domain.it if I go to non-www I don’t get redirected but I get an SSL error (Chrome’s NET::ERR_CERT_COMMON_NAME_INVALID).
How I can resolve this?
I’m on a DigitalOcean Discourse Droplet with Discourse 2.2.0 beta1 on Ubuntu 18.04.
If the request comes to http (not https) it works right now. It’s possible to search here and find some topics about having let’s encrypt support multiple domains.