Y
Y
Yakov Shmidt2016-12-28 13:25:20
Node.js
Yakov Shmidt, 2016-12-28 13:25:20

What is the best way to host applications?

Hello! :)
There is a droplet on digitalOcean. The wheelbarrow is deployed on ubuntu. There is an application that runs on tomcat on port 8081. There is also a second application, a kind of Landing page that runs on nodejs on port 8080. You need to make sure that the application on the node runs on the mysite.com domain, and the application on the tomcat runs subdomain porlat.mysite.com. Is it right to run both applications on the same droplet, or is it better to buy another one for landing? or is everything all right and then the question is, is it possible to do it the way I want (one application on mysite.com, and the second on portal.mysite.com) and all on one wheelbarrow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2016-12-28
@sim3x

You put nginx and routing in front of them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question