I’m attempting to install Discourse on Digital Ocean… When I type the host name I get this error
Hostname for your Discourse? [discourse.example.com
]: discourse.somename.co
Checking your domain name . . .
WARNING: Port 443 of the computer does not appear to be accessible using hostname: discourse.somenamer.co.
WARNING: Connection to http://discourse.somename.co
(port 80) also fails.
I’m using
Namecheap
Cloudflare
and Digital Ocean
Namecheap nameservers point to Cloudflare, Cloudflare A records point to digital ocean IP address. I’m not sure what the issue is?
When I navigate to the URL on a browser it says the browser is fine, Cloudflare is working and the host is the issue…
Any suggestions on what might be wrong?
IAmGav
(Gavin Perch)
August 16, 2020, 5:18pm
2
the dns record has not been set or is not active.
once this is done, then discourse will install
I have 2 A records in cloudflare that point to Digital Ocean… isn’t that the only DNS records needed? I also have a number of cname set up but that is for sendgrid
I’d suspect that You’ve got cloudflare configured in Proxy mode. Disable that and You’ll be good to go.
1 Like
Thanks… I have all of the orange clouds set to gray DNS only
hmm… So if I enter in the hostname simply as somedomain.co it will connect… however if I enter it as discourse.somedomain.co then it can’t reach the port… are you not supposed to include discourse in the host name?
IAmGav
(Gavin Perch)
August 16, 2020, 6:50pm
7
something is blocking it to connect
ahh sorry… I was editing the doamin name… it’s supposed to be WeWiser.co
It seems to have completed the install when I only used WeWiser.co as the host… if I use Discourse.wewiser.co then the error happens
But I’m not able to access the page when I go to that host name
IAmGav
(Gavin Perch)
August 16, 2020, 6:54pm
11
can you take a screen shot of the a records
IAmGav
(Gavin Perch)
August 16, 2020, 6:57pm
13
there should be an A record for discourse
Ohhh… Do I configure it like this discourse.wewiser.co ?
IAmGav
(Gavin Perch)
August 16, 2020, 7:00pm
15
Name = discourse
type = A
Content = (ip address of droplet)
ok cool I’ll run through it again
Making progress I think!
It seems to have installed and when I go to the domain now it’s showing this
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org .
Commercial support is available at nginx.com .
Thank you for using nginx.
sorry never mind! I see I dont need to add discourse to the url… it works thanks so much for the help!
IAmGav
(Gavin Perch)
August 16, 2020, 7:57pm
19
you pointed the dns to the droplet, but your app.yml still says your domain is discourse.domain
change the domain name in the app.yml to wewiser.co and then rebuild the app
cd /var/discourse
./launcher rebuild app
got it… just reloaded it and now it looks like the SSL is not implemented… maybe I just need to rebuild the entire thing… distry this instance and launch a new one and update the ips?