Question

I am unable to connect my droplet to my domain

Posted December 9, 2020 339 views
DigitalOceanDNSUbuntu 20.04

I have already set DNS to digitalocean severs ns1,ns2 and ns3 and also craeted A record forwarding to my droplet ip address but still my domain is not connected. when ever i hit my domain in a browser it returns an error message firefox cant establish a connection to the sever.
please i need your help

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.

×
Submit an Answer
4 answers

Hi @Teecruz,

There are 3 possibilities in such situations.

The first possibility is the propagation of DNS. DNS can take up to 48 hours to propagate. That’s the most common thing people think it’s an issue but they just have to wait. Anyway, if you’ve passed these 48 hours let’s go to the next one.

The second possibility is for you to not have added the proper Nameservers or added your domain. In order to manage your DNS with DigitalOcean, you need to change your Nameservers of your domain with your registrar(where you registered the droplet). Once you change the Nameservers to

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

If you are unsure how to change your nameservers from your registrar, you can check the following DigitalOcean tutorial:

https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars

Next, after you’ve changed the Nameserevers is to add your domain to DigitalOcean. To add it, go to your Control Panel, click on the Create Button, and select Domain. Then you start adding your DNS.

The third possibility is related to problems with the DNS. They are usually seen when something hasn’t been configured properly. IN such cases, I recommend checking the following website to see –> https://www.whatsmydns.net/

Regards,
KFSys

by Josh Barnett
by Kathleen Juell
DNS is the naming system that is used to bind a domain name to a web server. In this guide, we will change the nameservers for a domain that we have registered and point it to a DigitalOcean Droplet.

Hello @Teecruz

You might have to confirm that your domain is resolving to the Droplet IP address by running dig command:

dig domain.com

Once you confirm the domain name is resolving to Droplet IP address then you have to update the virtual host entry in webserver configuration file (such as apache or nginx).

If the issue persists then please contact support along with the domain and steps you followed to troubleshoot this issue.

Regards.

Dikshith

I have confirmed the domain is resolving to my droplet ip address but still my website is not connecting

What do i do to resolve this issue? please