I want to hosting API using node js, my server is ubuntu 16.04 and it allready installed web server nginx and maria db. So how can i add my API in my subdomain
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
You just need to follow the configuration part of the reverse proxy in this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-14-04#set-up-reverse-proxy-server