Where should I add my domain on Digital Ocean following the standard installation

AI-generated summary

In a support thread titled ‘Where should I add my domain on Digital Ocean following the standard installation,’ user jaylee9710 seeks guidance on configuring DNS for their Discourse forum at forum.yonstreetbets.com, having already set up their site at yonstreetbets.com. pfaffman advises against adding the domain directly in DigitalOcean and instead recommends creating an A record via their current DNS provider. osioke clarifies that the official Discourse install guide doesn’t require adding domains in DigitalOcean, and confirms that the A record should point the subdomain (forum) to the droplet’s IP (128.199.194.254). jaylee9710 reports that although Discourse appears installed, the site is inaccessible, noting DNS restrictions on using multiple dots in the host field. lucasbasquerotto confirms the DNS is correctly configured (forum.yonstreetbets.com → 128.199.194.254) and advises checking that ports 80 and 443 are open in the DigitalOcean firewall and that the install script (./discourse-setup or ./launcher rebuild app) completed without errors. osioke adds that if issues persist, running ./discourse-doctor can help diagnose problems. The consensus is that DNS setup is correct, and troubleshooting should focus on firewall rules and proper execution of the Discourse install process.

I’m installing Discourse in standard way

And I have my website already “yonstreetbets.com” and I want to build my discourse community on forum.yonstreetbets.com.

Which domain should I put in Digita Ocean?

yonstreetbets.com? or forum.yonstreetbets.com?

Probably neither. Just add the A record to your DNS using your current dns provider.

I should fill this box to get A record

Your question isn’t very clear, why would you want to put a domain in Digital Ocean if you are using the official install guide? There isn’t a step for that in the guide especially with the screenshot you shared. Once you create the A record as Jay said, you can follow the official install to be on track.

I think I installed discourse.


but still cannot open my website.

The thing is I cannot put forum.yonstreetbets.com in host. DNS provider said I can only one dot in host. And my instance IP address is 128.199.194.254

Assuming that your droplet public IPv4 is 128.199.194.254, then it seems your DNS is correct:

$ host forum.yonstreetbets.com
forum.yonstreetbets.com has address 128.199.194.254

In the host part you normally put only the subdomain (forum in your case), or @ for the root domain, so it seems your DNS setup is correct.

Make sure that the Digital Ocean firewall allows connection to the ports 80 and 443 of your droplet, and also make sure that you followed the official install completely, until the point in which discourse container is built and started (if you run ./discourse-setup or ./launcher rebuild app and it executed completely, without errors, then it should be ok).

And adding to what @lucasbasquerotto shared above which is apt, if you are still having issues even after running run ./discourse-setup or ./launcher rebuild app withouts errors, the run ./discourse-doctor to troubleshoot.