By Chris Cuilla
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!
This comment has been deleted
This comment has been deleted
This comment has been deleted
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.