hey I’m trying out the basic Discourse/DigitalOcean guide: discourse/INSTALL-cloud.md at main · discourse/discourse · GitHub
I spent a few (10+) hours bugging around with ports until I got it running. Then understanding mail systems, SMTP, DNS, SSH and too many other things. I got it working eventually but…
Then I (stupidly) decided I wanted to start again from scratch from a new droplet now that I understood it all. (Yay me) And stupidly I deleted the droplet. Now I’ve tried to remake it and I keep getting this error.
Here’s my problem. Starting from a new digitalocean droplet (prior to the mailservers). Either:
(a) following the guide, discourse/INSTALL-cloud.md at main · discourse/discourse · GitHub
sudo -s
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
./discourse-setup
or
(b) in the DigitalOcean image marketplace for new droplets and selecting the Discourse image. Then SSH to the droplet, it starts to run the auto setup
Imediately after entering my subdomain to this prompt Hostname for your Discourse? [discourse.example.com]:
Comes up with:
WARNING: Port 443 of computer does not appear to be accessible using hostname: forum.example.com
WARNING: Connection to http://forum.example.com (port 80) also fails.
I haven’t done anything to my droplet, it’s the original setup. I think the basic setup isn’t working right. Maybe something changed on the digital ocean end since the guide was written?
I see other posts about cloudflare but I don’t have any cloudflare services as far as I know.
I see posts about using ufw
to open ports. My first droplet I did this, and eventually got it to work after opening every port I could find a suggestion to open (22, 80, 8080, 8000, 2222, 443, and more) but in any case I think the guide needs to be updated to reflect the need to open ports. And possibly (previous droplet) also needing something like apache2 to listen to the port? Although I’ve been burning my eyeballs across so many errors that I can’t find the old solution.
I am wondering if you understand which ports need to be open and which do not, and can fix both my problem and suggest a correction to the basic guide?
Thank you!