Understanding "Add a domain"

Sorry for so stupid question, I come from developing world and I’m newbie in Systems.

I have a Ruby on Rails app running, and I bought a domain name (in, and now I want to add my domain to this app (since now accesible only by droplet ip’s)

I have added a domain, but I don’t understand anything. I expected to receive 5 Ips or 5 name servers, that I had to store in in, but there are to many options for my ignorant mind.

Please can someone make an explanation of:

  • What does “Select Record Type” means
  • What name ant what IP do I have to populate?
  • Do I have to push “Create A record” or “Create “AAA” record”

Thanks a lot

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.

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.

Thanks a lot, now I understand everything

Today I have been doing the redirecton of to following this instruccions:

And I don’t understand how I achieve it working without the nginx configuration:

server {
    return 301 $scheme://$request_uri;

I did the nginx configuration as this tutolrial. and didn’t worked, in browsers could read “To many redirections”, after some tries, I delete the redirecting block of nginx configuracion and it worked !!

Why? Can be because my registrar (maybe, I 'm not sure) already did a redirection?

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 and not

To make this particular DNS Zone active, you would point your domain to these name servers with the company you purchased your domain from:

###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 or to work. You can also use this for subdomains like or

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 to designated mail servers. You can assign various mail servers priority (lower number = higher priority). These records have to be names like 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 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