Report this

What is the reason for this report?

How do the domains work?

Posted on August 7, 2018

Hi,

I don’t understand how the domains work, I mean, if I want to add a domain I just have to introduce the domain name. Then can I add any domain I want? Can I make that google.com redirects to my website?

I suppose that is a silly question but I don’t really get it.

Thanks!



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!

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

When you register a domain with a company like GoDaddy or Namecheap, they put a list of “Nameservers” in a database for you. Anyone asking where your domain is ultimately hits that authoritative database that then delegates to your own nameservers which report on the domain’s IP.

If you want to use Digital Ocean’s nameservers, you tell GoDaddy to point your domain at DO’s nameservers, and then tell DO what IP each domain resolves to.

You could tell DO that google.com resolves to your IP, but nobody is going to ask Digital Ocean what google.com’s IP is.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.