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,
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!
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