Question

How is digitalocean secure in directing traffic of my domain name to my droplet?

(Sorry for lack of proper technical language) On my domain name registrar (godaddy.com) I set up the DNS for my website name (say example.com) to be ns1/2/3.digitalocean.com. Then I went to the DO control panel and added the domain example.com.

But this got me thinking, can’t someone hijack my website traffic? It seems that I can enter any domain name in the DO control panel. If someone else entered example.com, how does DO know which IP to direct traffic to? Is it a first come first serve type of thing?


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.

Accepted Answer

Yes, it’s first come first serve. If you own a domain and have added it to your DigitalOcean account, no one else will be able to add it to theirs. It’s also true the other way around, but, if you’re unable to add a domain that you own, open a support ticket and we’ll take care of it :)

If you’ve added the domain to your account and have your name servers set to ns1-3.digitalocean.com, there’s nothing to be worried about!

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.