Hi-
I have Discourse set up on Docker. I can send the activation email and I receive it fine. The link takes me to my site but the site url is broken. It’s configured to be: discourse.yciw.net
Digital Ocean says the domain is active.
I’m able to access the site via the IP address but of course I cannot activate the initial Admin account.
Thanks! Do you happen to know if there is a way to edit my Droplet URL on Digital Ocean or do I need to delete it somehow and create a new one. Which I think would give me a different IP address and I’d have to start the whole process over…
(I’ve submitted a ticket with them but I’m waiting to hear back)
You can rename a droplet on DO, just go to the Settings for your droplet, and then the Rename tab. This won’t affect anything on the box, but it will update the PTR record.
You’ll need to rebuild your Discourse instance after editing the configuration file too.
You have to know who owns yciw.net. Where did you buy it from? Usually you are provided with a user interface where you can change these settings and add the subdomains to point to the ip of your DigitalOcean droplet, like discourse.yciw.net.
Thanks. I’m still stuck on trying to fix the mistake I made when setting up the droplet with the wrong url.
Trying to edit it reflect discourse.yciw.net
The edit has now been correctly configured in the droplet. (discourse.yciw.net)
site still does not load
The Discourse set up guide does not mention anything about having to add subdomains to point to the Digital Ocean server. Is this just a common step that I should do…?
Incorrect, you need to set up the dns with your domain name registrar, the place where you bought the domain name. Unless you bought that domain name from digital ocean…
Also @lake54 the droplet name is not just for show: it changes the reverse ptr record for the ip address. Granted since we tell people to use Mandrill for email this will not affect much but it should be correct, e.g. have the correct domain name.
For future reference, you should have edited that file with sudoedit. sudoedit will save a backup copy, and only overwrite the file if the editor exits normally (I think).
# sudoedit /etc/hostname
("Please pick an editor")