Need help with setting up domain and connecting with the droplet.

Posted January 18, 2017 2.5k views
UbuntuGetting StartedDNS


Here is what I have done:

  1. I have created a Ubuntu LAMP on 14.04 droplet.
  2. I have a domain registered with I went into my Godaddy account and set the DNS servers as, and
  3. I came back to digitalocean account and clicked on ‘Networking’ to add my domain.
  4. Added the domain name without www.

When I type in the domain name in the browser it just keeps searching for it. When I ping my domain name from terminal it say it could not resolve the host. What am I a missing here?


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
1 answer

If you just changed NS records to DigitalOcean in GoDaddy, then you probably have to wait for DNS propagation to finish. That can take up to 24-48 hours. After that period you should be able to access your Droplet via domain.
If that period already passed, make sure you have correct A record under DO Networking settings.

  • I updated the NS records yesterday. When I do a ‘whois’ lookup on my domain it shows the updated DNS.

    Coming to the A record:

    1. Is it mandatory to add A record?
    2. If yes, then I also tried that. I entered the domain name in the first field and then droplet IP address in the second field. Is that what I am supposed to do?