Is it mandatory the use of the Digital Ocean's DNS for each record when handling multiple domains/subdomains on a single droplet?


I’ve read different post on the Digital Ocean’s Forums and still I have not clear how the setup for multiple domain works in here.

If I setup a droplet for handle multiple domains, is the apache vHost enough to handle the request or is it mandatory to set it up every single domain /sub-domain also on the Digital Ocean DNS server.

I’m asking because I have my Vanity NS pointed to the Digital Ocean’s NS and the main domain resolves ok but the sub-domains no, and I have double checked and the sub-domains are set properly on the vHost.

Also I know using a WildCard like [*] is an alternative on the Digital Ocean’s DNS panel but at the same time I don’t know how it migth affect the resolution of the vanity, and

Show comments

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.


If you have your own nameservers or are happy using the DNS management tools provided by your registrar, you don’t need to use DigitalOcean’s at all. We simply provide the tools to configure DNS records from our control panel for the convenience of our users who would rather manage both their servers and and their DNS records in the same place.

Generally speaking, setting up DNS for a DigitalOcean droplet isn’t any different than for any other server. Each droplet receives its own IP address. If all your subdomains are going to be on a single droplet, then a wildcard CNAME is likely the easiest way to do it, or you could use an individual A record for each subdomain.

If you could describe the set up you are looking to do, we can help you with the specifics.

a vHost is a piece of configuration for your web server, it has nothing to do with DNS. So yes, for your DNS records to resolve, you need to create them.