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:
Anyone done anything like this? Any thoughts on it?
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.