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?
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.