Joshua_Kogan encountered an “unsecure connection” error after installing Discourse on a DigitalOcean droplet, despite using Let’s Encrypt for SSL. He initially accessed the site via IP (unsupported) and faced mixed browser behavior—Safari showed insecure warnings, Firefox displayed errors, and the IP-only link showed a blank screen. After Stephen advised him to uncomment Let’s Encrypt settings, enable SSL, expose port 443, and provide an email in /var/discourse/containers/app.yml, Joshua realized he hadn’t rebuilt the app after editing the config. After rebuilding, the site became accessible on all browsers—but only without the “www” prefix. He resolved this by adding a DNS A record for “www” as advised by Stephen, and confirmed it worked. Stephen also warned that hosting on a DSL line may violate ISP terms, potentially risking service termination. Joshua thanked the community for the guidance and successfully launched his site.
Hi everyone,
My first time installing, and I’m running into a roadblock. Here are the details:
My url is hosted at 1&1
I’m using mailgun, and it is “active”, and I’ve updated my DNS setting with mailgun requirements.
I’ve setup a 2GB $10 droplet at DigitalOcean.
Now, I open the console through Digital Ocean, login fine (root + password), and go through all of the discourse configuration steps without any errors UNTIL the end of the intial configuration. When I go to my IP address in Firefox, I get the user registration wizard, I fill it out, and when I submit it, I get an unsecure connection message. I check my email, and the discourse confirmation email is there. If I click the link, it also sends me to an unsecure connection message.
Any thoughts and/or guidance? Please excuse my ignorance – I’m a good student, and you time will be much appreciated.
I can see now that it works on safari, albeit, not secure. How do I resolve? I thought using Let’s Encrypt took care of securing the site. What else do I need to do? Thank you in advance!
Thank you, @Stephen, but that’s not working. On my ipad/safari, I can access the site with an unsecure warning. But, on my computer firefox, this is what I get (www):
The rebuild worked!! I’m live on all browsers now, but only without “www” – how do I get my site to work if a user types in the www? Do I add a A record www in my DNS settings?
Nearly all consumer-grade connections prohibit running servers. If your ISP detects it then at best you will get a nasty letter, at worst they might terminate your connection. I would consult their ToS to see what their enforcement policy is.