How to create subdomain in Digital Ocean DNS control Panel?

May 7, 2014 21.4k views
Hi, I'm a beginner with VPS setup, I tried installing zpanel and it asked for a subdomain. Now I created a vanity name server with digital ocean and want to create sub domain to install zpanel. Please guide Shiya,
3 Answers
Create a new A record. If you want for example create an A record with the first section as 'subdomain' and the second section as the IP address you want to target (your droplet normally).

Hope this helps :)
  • Yes, this helped a lot. I configured apache easily, but didn't know how to create this record correctly. Thanks!

There is a tutorial that should help walk you through the process:

Are you trying to host both the sub-domain and the the root domain on the same droplet or on two different ones?
by Assaf Gordon
Here's some documentation on how to set up and test DNS subdomains with DigitalOcean's DNS panel.

Dear @asb any tutorial on hosting these scenarios

  1. hosting both subdomain and domain in same droplets subdomain and domain in different/separate droplets

Thank you in advance

Have another answer? Share your knowledge.