Question

How come my domain on DigitalOcean doesn't work?

I put in the DigitalOcean’s nameservers on my GoDaddy domain settings. I updated my A record in my DigitalOcean droplet. Yet, still I cannot access my website using the custom domain. Its been several days already. When I type in my droplet’s IP address, I am able to access it. However, I cannot access using the custom domain!


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

KFSys
Site Moderator
Site Moderator badge
February 4, 2024

Heya @calvietech,

You are correct, the DNS shouldn’t be propagating for more than 48 hours and even that is by current standarts a lot. Everything after a couple of hours is actually pretty alarming.

Anyway, make sure that your Nameservers are:

Next, make sure you don’t have a TYPO in the domain you added to your DigitalOcean account.

Bobby Iliev
Site Moderator
Site Moderator badge
February 4, 2024

Hey there!

It sounds like you’ve hit a common snag when setting up domains and DNS settings. Let’s go through a checklist to troubleshoot and hopefully get your domain working with your DigitalOcean Droplet.

1. DNS Propagation

First up, DNS changes can take some time to propagate across the internet. While it’s been several days in your case (which is usually enough time), it’s not unheard of for delays to occur. You can check the current state of DNS propagation using tools like whatsmydns.net. Just enter your domain and see if the A record points to your Droplet’s IP address globally.

2. Nameserver Settings

Since you’ve set DigitalOcean’s nameservers in your GoDaddy domain settings, double-check to ensure they are entered correctly:

  • ns1.digitalocean.com
  • ns2.digitalocean.com
  • ns3.digitalocean.com

A simple typo can derail the entire process.

3. A Record Configuration

Within your DigitalOcean control panel, ensure that the A record for your domain points to the IP address of your Droplet. It sounds like you’ve done this, but it’s worth verifying. The A record should match your Droplet’s IP exactly, without any trailing spaces or typos.

Usually, patience is key with DNS issues, as changes can take a while to fully propagate around the Globe.

I hope this helps, and I look forward to hearing that your domain is up and running with your DigitalOcean Droplet!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel