Hey there,
This tutorial outlines pointing a domain to a Droplet.
When you add a domain to your control panel, it creates a "DNS Zone". The DNS Zone includes all the information to translate names to numbers (IP Addresses) for your domain name.
Note:When adding you domain, make sure to add it as dondominio.com and not www.dondominio.com.
To make this particular DNS Zone active, you would point your domain to these name servers with the company you purchased your domain from:
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com
The important records in the DNS zone are:
A Record: Points a name like @ or www to an IP address. This is what is needed for my domain.com or www.mydomain.com to work. You can also use this for subdomains like blog.mydomain.com or mail.mydomain.com.
Note: AAAA records (also known as quad-A records), are the same as A records but are for IPv6 addresses. You would add AAAA records in addition to A records if you wanted your website/service to be reachable via IPv6. IPv6 is gaining popularity, but not necessary at this time to use.
MX Records: Directs mail sent to @mydomain.com to designated mail servers. You can assign various mail servers priority (lower number = higher priority). These records have to be names like mail.mydomain.com or ASPMX.L.GOOGLE.COM if you are using Google Apps for example.
CNAME Records: Same as the A records, but connects a name to another name. If you were connecting many subdomains to a single server, it would be easier to point records like www or mail to mydomain.com. If you move your site to a new server, you would then only have to update the main A record.
You can get away with just making an A record for your domain pointing @ to the IP Address of your Droplet. Hopefully the information above helps!
Happy coding,
Jon Schwenn
Platform Support Specialist
DigitalOcean