How to Set Up a Host Name on Digital Ocean

0

Full article

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

If this information is useful to you, please click on one of my ads to help me with the cost of the website or so I can pay my classes. The ads are usually located on the right. Please ❤️

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







Comments