Question

Setting up DNS (domain name from godaddy or namecheap)

Posted November 1, 2014 42.8k views

What are the bare minimal settings required to point a domain name to digital ocean server. I have domain names registered at godaddy and namecheap?

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.

×
2 answers

Just the domain name?

Make an “A” record. The name should be “@” (no quotes) and the content would be the IP address of your server, like so

Hi Monica,

I would suggest you to take a peek at *this *tutorial, “How to Point to DigitalOcean Nameservers From Common Domain Registrars”, it should contain everything you need and it will just take a few minutes.

Have a further good day, and good luck.

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.
  • What if we want to keep our DNS with our registrar? Is there no way to simply point an A record or CNAME to the DO droplet? It seems silly that DO would force us to use their DNS management.

    • So it does seem silly but this is actually ingenious security.

      When you’re forced into using the Digital Ocean DNS servers to reach Droplets, you can imagine the connection and scenario like this…

      You deploy something to digital ocean using a Docker image on your Ubuntu.

      As it would turn out your Docker Container that is running the image is running a small Ubuntu VM (probably).

      Now suppose someone attacks your little application. They get in and they don’t entirely realize they’re in a container yet.

      Once they realize, they must go from the container to your Ubuntu Droplet. Easier said than done.

      Once they’re in your droplet, they may only have access to anything that is within the Project’s Droplet’s DNS.

      It’s a private network only for those Droplets, complete with their own DNS server that only has 3 links to add to your domain registrar.

      That is hella ingenious. It’s not bullet proof. But god damn is it nice.

    • You’re not required to use DO (DigitalOcean) DNS, you can keep DNS with your registrar or anywhere else, and just point it to the DO IP address.

      Many people do that.

      The opposite is true too, you could just configure DNS in DO, but point it to IP addresses on AWS. That would be fine too, and many people do that.

Submit an Answer