Should I register my domain or my subdomain on DO?

  • Posted August 7, 2020
  • DNS

I will install Discourse here on DO, and I’ve done the necessary preparations in the how-to guide I’m following, including adding my domain to DO. But Discourse will run on a subdomain, so I added the subdomain to DO instead of the domain. Now I’m waiting for the DNS changes to propagate, but I have a nagging feeling that I should have added the domain instead…

Which is the correct way to do this?


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.

Hi there @lyseoy,

What you can do is to add your domain name to your DigitalOcean account, then change your nameservers to the DigitalOcean nameservers:

Once you have your nameservers set to the DigitalOcean ones, what you could do is add an A record for the subdomain name that you would like to use to point to your Droplet’s IP address.

Note that if you have any existing DNS records for your domain name, you should copy them over to your DigitalOcean DNS zone before changing your nameservers.

Let me know if you have any questions. Regards, Bobby