Question

Discourse 1-click — port 443 of computer does not appear to be accessible using hostname

I am getting an error in terminal while trying to complete the Discourse 1-click install.

Hostname for your Discourse? [discourse.example.com]: discourse.openfarming.net

Checking your domain name . . .
WARNING: Port 443 of computer does not appear to be accessible using hostname:  discourse.openfarming.net.
WARNING: Connection to http://discourse.openfarming.net (port 80) also fails.

The droplet’s IP address is 206.189.7.42. The nameserver for openfarming.net is TMDhosting, and using the cpanel there I have the following zone records for the domain:

NAME                          TTL  CLASS  TYPE  RECORD
discourse.openfarming.net     600   IN    A     206.189.7.42
www.discourse.openfarming.net 600   IN    A     206.189.7.42

Can anyone tell me what I’m missing?

Thanks in advance.

Subscribe
Share

I should add that I don’t believe it’s a firewall issue. On running:

sudo ufw status

I get:

To               Action      From
--               ------      ----
22/tcp           LIMIT       Anywhere
80/tcp           ALLOW       Anywhere
443/tcp          ALLOW       Anywhere
22/tcp (v6)      LIMIT       Anywhere (v6)
80/tcp (v6)      ALLOW       Anywhere (v6)
443/tcp (v6)     ALLOW       Anywhere (v6)

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I could find no direct answer, here or via the Discourse support community.

A response via the latter did say that the Digitalocean 1-click is not a community-supported set-up and proposed the following Digitalocean instructions instead:

https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md

Worked first time.