By guptamohitme
Hello, I want to run my existing java+angular app as well as Wordpress app on same droplet. I have seen multiple examples to do same thing with two different domains. However i want to run wordpress on https://domain.com and angular+java app on https://mydomain.com/app. I am using nginx as server for my java+angular app which is currently deployed at https://mydomain.com Please help!
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!
When using Nginx or any other service you can use Vhosts to get what you want. Have one directory listen to a specific /folder and the other to another. We need some specific information here however to help you on this specific request;
Let me know if this helps you or got any more questions.
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.