which droplet for domain hosting

August 27, 2014 1.5k views

Hi, I have a question when adding my domain to digital ocean.

I've created a droplet called app, using one click dokku on Ubuntu installer, and have a bought a domain name, say, domain.com.

What I want to do is to host my app at the adrress: app.domain.com. And the question is, when I add domain.com for the first time, which droplet should I link it with? Is it just app, or do I need to create another droplet using Ubuntu for my domain? And what if I want to host another app at say app2.domain.com in the future?

1 Answer

Selecting the droplet simply pre-seeds an A record for that domain. You can always change it or add more records at anytime. Check out this tutorial for more info. It should point you in the right direction:

How To Set Up and Test DNS Subdomains with DigitalOcean's DNS Panel

by Assaf Gordon
Here's some documentation on how to set up and test DNS subdomains with DigitalOcean's DNS panel.
Have another answer? Share your knowledge.