This is how to point domain to DigitalOcean droplet for any domain provider (use Namecheap as an example). However, for those who use GoDaddy as a domain provider, you can read how to point GoDaddy domain to DigitalOcean droplet article instead.
How to Point Domain to DigitalOcean
First, you need to log in to the DigitalOcean account and go to https://cloud.digitalocean.com/networking/domains to add your domain to the DigitalOcean by entering your domain into the field and clicking Add Domain button.
Now you are done with the DigitalOcean side (but you still need to config the domain record as you need later).
Second, log in to your domain provider account (we’re using Namecheap as an example) and click the domain that you need to point to DigitalOcean droplet.
Then, you need to find the Nameservers setting (or DNS setting) for that domain. They look different, depending on your domain provider.
Once you found the Nameservers setting (or DNS setting), enter the following nameservers to each field of the custom nameserver (1 nameserver per line):
Then, click Save.
Now you need to wait until the nameserver is updated (DNS propagation). It can take up to 72 hours to propagate worldwide, although it normally takes a few hours.
Quick Guide: How to Point Domain to DigitalOcean
How to point domain to DigitalOcean droplet in 3 simple steps for any domain provider.
- Step 1 – Add domain to the DigitalOcean account.
Go to DigitalOcean Networking and Domains to add a domain that you need to point to DigitalOcean.
- Step 2 – Configuration the domain’s nameserver.
Go to your domain account and find the DNS setting (or nameserver setting) add the following nameservers to the custom nameserver (one per line): ns1.digitalocean.com, ns2.digitalocean.com, ns3.digitalocean.com and click save.
- Step 3 – Wait for DNS propagation.
The DNS propagation can take up to 72 hours, although it normally takes 1-3 hours.
Image by DigitalOcean