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!

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.

×
1 answer

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.

Submit an Answer