How to host multiple web applications with different backend on one dedicated server?
It is planned to develop several independent from each other web applications that will use on the side of the backend and different technologies, for example:
The app, which will be based on Node.JS;
Is the app or website, which will be based on PHP;
Regular shared hosting is not suitable, since it is impossible to deploy Node.JS so the bet is made on a dedicated server with one IP address.
I understand PHP to work you need to install Apache, but how it will work with Node, will not be any conflicts?
How to use PHP and Node.JS on a single server TOGETHER so that it could accommodate different projects?
Now using nginx as frontend. For projects in php -- Apache or php-fpm as a backend. You can still see in nginx unit -- the application server from nginx developers who can simultaneously python, php, go, ruby, nodejs and other.
Annamarie42 answered on April 7th 20 at 10:58
(Directive mount URI to the desired host/port in apache)