LetsEncrypt working without www, not with www

If the above advice is too intimidating you could also set up a simple DNS redirect. Most registrars offer this.

Discourse can’t be published under multiple URLs, the root record (non www) and www ‘a’ record are separate addresses. Once you nominate an FQDN for your site any additional addresses need to be handled with a redirect.