In the “Defaults domain” discussion, Gjithcka_al is having issues installing Discourse on their main domain, with only subdomains working. danb35 suggests that this is the expected behavior, according to the install docs, which recommend using a subdomain. However, Gjithcka_al believes that the issue is related to SSL.
Gjithcka_al is advised by shaleedt to install Discourse on the main domain if it’s solely a forum, and by Stephen to check if they’ve hit the Let’s Encrypt limit. Gjithcka_al thinks this might be the case and is directed by JimPas to seek help from the Let’s Encrypt forum, where they can get assistance with resolving certificate issues.
Dear friends, i have teied to install your platform and it’s very easy and useful, but i am facing some issues, i can name my maincdomain but just subdomains. For example, forum.domain.com meanwhile domain.com doesn’t work. Can someone tell me about this problem? Thank you
That sounds like it’s working as designed. See the install docs:
Already own a domain name? Great. Select a subdomain such as discourse.example.com or talk.example.com or forum.example.com for your Discourse instance.
Then you’re going to need to explain, in a lot more detail, exactly what you’re doing, what you’re expecting to happen, what’s actually happening, and what makes you think SSL has anything to do with it. On my installation, I browse to domain.tld, it redirects to sub.domain.tld, and I’m good to go.
I have discourse installed on my main domain because the site is just a forum, nothing more so if your site is just a forum, i’d suggest installing it on your main domain and not a sub domain.
If you have hit the Let’s Encrypt limit, I’d suggest going to the their forum and ask for help. They can check your domain and subdomains and see what certificates you may have created, as well as failures to create certificates. In some cases, people have created valid certificates but they’re not installed. They can better guide to as to what is going on and how to get things working. Here’s the link: