By Filhow
I have a yeoman angular project work better and a spring boot rest project in my server side, two projects separated. I need two droplets to deploy both? i can deploy both projects in the same droplet?
I’m confuse.
I’m sorry for my english.
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 is definitely possible. The core of the issue is determining how your application processes will be managed, and what web server configuration you will use. This is something that with proper planning, can provide a solid way to continually add applications ( resources permitting ) or more sites to your server.
Both Nginx and Apache httpd allow for separate sites and support using proxy configurations ( see this for Apache and this for Nginx ) and modules to allow requests to be passed to your applications that support common interfaces. You can leverage that to use application managers ( e.g. gunicorn, unicorn, php-fpm, passenger etc ) to run applications.
With isolated application processes, it is simply a matter of configuring the domain, sub-domain or paths that will lead to the applications through proxy configurations or modules.
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.