Hi everyone,
I have 10 websites (domain name), all site have traffics but small. I can deploy 3 web application per a server, and running each application in a different port, and use nginx as proxy. It's failed to start fouth application on single server (i tried but not succeed). With this design, it wasted me a lot of money for server (10 website, i need 4 server for them). So i have 2 questions:
1. There is anyway to run more than 3 web application on a single server (and is it a good way, i don't think so)
2. There is anyway to develop a single web app for each 5 website, and routing domain by url. So i need only 2 web application, deployed on 2 single domain, and it's still good, because each site just have small traffic. So just combine them.
For example:
domain
a.com => localhost/a/
domain
b.com => localhost/b/
vvv
I tried it with play application, but it's failed to config with nginx.
Anyone can have a better design or can help me for this design?
Thanks so much,