How to Set Up a Host Name on Digital Ocean

Jul 16, 2018 2 min read
How to Set Up a Host Name on Digital Ocean

To set up a domain name, you need to do two things. First, you need to purchase a domain name from a domain name registrar. Second, you need to set up DNS records for your domain by using a DNS hosting service.

I'm going to use DigitalOcean as example. Is not a domain name registrar, but does provide a DNS hosting service.

This is what you will need (name servers):
DigitalOcean name servers:
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

Add a Domain

  1. From the Control Panel locate Domains/DNS
  2. In the Add a domain section, enter the domain. This is typically the base domain only, e.g. example.com and not www.example.com. Subdomains are added by creating specific DNS records after the base domain has been added.
  3. Click Add Domain. This will take you directly to the Create new record page

Change Nameservers with your Registrar: One-time Only

When you are ready to change to using DigitalOcean to manage your DNS records, you’ll need to point to the DigitalOcean name servers from your registrar. This is different for every registrar.

Let's look at GoDaddy:

  1. Sign in to your GoDaddy account.

  2. On your account homepage, click the DNS tab on the right-hand side of the Domains main page. It will be located in between the Add Privacy and Manage tabs.
    godaddy_step2

  3. On the next screen, navigate to the section of the page that reads Nameservers. Click Change.

  4. When prompted, select Custom from the drop-down menu, and enter the following nameservers:

    ns1.digitalocean.com
    ns2.digitalocean.com
    ns3.digitalocean.com
    godaddy_step4

Note that you will have to click Add Nameserver to add the last entry. Click Save to apply your changes.

  1. Now you are ready to move on to connecting the domain with your Droplet in the DigitalOcean control panel. Check out the Conclusion section at the end of this article to find out about what to do next.

What's next?

Check out this Index page

Great! Next, complete checkout for full access to ArturoFM.
Welcome back! You've successfully signed in.
You've successfully subscribed to ArturoFM.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info has been updated.
Your billing was not updated.