albert32
By:
albert32

how can i host two different sites/nodejs webapps in one droplet?

August 5, 2017 272 views
Node.js Ubuntu 16.04

hey i want to buy a droplet and host other peoples apps that i make in nodejs in my server, how do i do that?

1 Answer

By using a proxy / frontend webserver with vhosts like Apache or Nginx.

  • i just launched a website usin nginx, is under the /usr/share/nginx/ directory in a folder call myapp, how do i go about deployin another website? make another folder in the same directory /usr/share/nginx/ say myotherapp cd in to it an git clone my other project into it? ?

Have another answer? Share your knowledge.