Question

Using Digital Ocean DNS on a multiple domain droplet (cPanel)

I’m looking for some help on understanding how to use Digital Ocean’s DNS for a droplet that has multiple domains (set-up through cPanel). Does anyone have experience in dealing with this? Am I better off with using DO’s DNS or cPanel’s DNS? It doesn’t matter to me, just so I can get it working.

I was going to set up my own DNS, but that doesn’t seem entirely easy being we are restricted to one IP address per droplet. And I’m not entirely savvy with DNS technicalities, so I’m looking to learn so hopefully you guys can shed a light on my problem.

Anyways, for example let’s say this is my info:

IP address: 1.2.3.4 Hostname: blue Domain (directory): example1.com (1.2.3.4/~example1) example2.com (1.2.3.4/~example2) example3.com (1.2.3.4/~example3)

How would I go about using DO’s DNS services to use the ns1.digitalocean.com and ns2.digitalocean.com at my domain registrar so that the domains would correctly point to their respective directories on the droplet?


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.

@mrmanivasagam: What error do you get when you update your nameservers to ns1.digitalocean.com and ns2.digitalocean.com?

How to Add my Domain from Namecheap on DigitalOcean VPS ? <br> <br>When i update nameservers NS1.Digitalocean.com , NS2.DigitalOcean.com , i got error . Please help in this …

Case closed. Once I uploaded a file via FTP, the server appears to route the request to the correct folders for the account on the server. Which must be a quirk or something, because it was throwing me for a loop prior by not doing so when nothing was uploaded. <br> <br>But everything seems to be working once a file is uploaded and the domain is requested. For anyone who may be wanting to know in the future. Thanks for your help Pablo!