Report this

What is the reason for this report?

Multitple subdomains and multitple droplets?

Posted on May 23, 2019

Hello, receive my coordinating greetings to the team. I want to consult is it possible to multitip subdomains of a domain but pointed to different droplets?



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!

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.

From what I understand from your question, you want to use multiple subdomains, and point these to different droplets: You do this in your DNS settings. Create multiple droplets, each with their own IP address. Then in your DNS records, create an A record with the value of your subdomain, pointing to the IP address of the relevant droplet.

So for example, I have droplet with IP 1.1.1.1, this will have DNS record A, which has value subdomain1 and in the NAME field, and in the VALUE field, goes the IP address of the droplet. So it will be subdomain1.mydomain.com, then repeat for subdomain2, etc. Hope this helps…

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.