Hi,
How to deploy multiple instances of same web application on one server which would be accessed by different client, How could I achieve this use case,
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
This can be achieved by using separate Nginx Server Blocks for each domain name.
Here is a step by step guide on how to set that up:
https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04
Also here is a quick guide showing how to do this with Nginx and Docker:
https://www.digitalocean.com/community/questions/how-to-host-multiple-docker-containers-on-a-single-droplet-with-nginx-reverse-proxy
Hope that this helps!
Regards,
Bobby