Report this

What is the reason for this report?

Multi-droplet architecture same domain

Posted on February 2, 2016

Maybe this is not the best (right?) approach, but I’m investigating the following setup and wondering if this is possible with Digital Ocean Droplets:

Imagine a base domain: foo.com

Now I want to be able to support multiple apps like this:

foo.com/blog (Wordpress, probably on its own Droplet) foo.com/app (probably Node or something, on its own Droplet) foo.com/app/v1 (probably Node or something, on its own Droplet) foo.com/app/v2 (probably Node or something, on its own Droplet)

The basic question here is can I setup different droplets for these different paths and do the routing/redirection from the main entry droplet running foo.com?

The alternative approach is to do something like this:

foo.com (Droplet 1) blog.foo.com (Droplet 2 - Wordpress) app.foo.com v1.app.foo.com (Droplet 3 - Node) v2.app.foo.com (Droplet 4 - Node)

Anyone done anything like this? Any thoughts on it?



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.

This comment has been deleted

This comment has been deleted

This comment has been deleted

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.