By alenn
Hello
I have a droplet with domain pointing on that droplet. Now I want to create subdomain which will point to another droplet. I tried to google it but without success.
My main droplet is running nginx. I’m not very familiar with server managment, so I need help from someone more experienced.
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!
Pointing subdomains at different Droplets is done at the DNS level and NOT server level. Create a DNS record as follows:

Here 2.2.2.2 is the IP of the other Droplet.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.