![]() |
VOOZH | about |
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
Former Developer at DigitalOcean community. Expertise in areas including Ubuntu, Docker, Ruby on Rails, Debian, and more.
Community and Developer Education expert. Former Senior Manager, Community at DigitalOcean. Focused on topics including Ubuntu 22.04, Ubuntu 20.04, Python, Django, and more.
With over 6 years of experience in tech publishing, Mani has edited and published more than 75 books covering a wide range of data science topics. Known for his strong attention to detail and technical knowledge, Mani specializes in creating clear, concise, and easy-to-understand content tailored for developers.
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!
Thank you for the article, itβs very useful. Iβd like to know what should be the Nginx setup if I wanted the second app accessed not through https://example.com/app2 but through https://example2.com? How to use different domains for different apps?
Why PM2 instead of systemctl?
Great tutorial! I have a WordPress site at /var/www/example.com/html (NGINX PHP) and I want my NodeJS apps to run in /var/www/example.com/html/nodejsapps How shall I do that?
Please could you explain the correct way to set up environment variables in production?
I have several sites/apps on the same Ubuntu 20.04 server with NGINX server blocks. The NodeJS apps are using different versions on NodeJS. Anyone who has experience/advice on how to install/configure nvm, volta or nvs in production to switch node versions and use different node versions for respective apps on the same Ubuntu server?
This comment has been deleted
I followed the instructions exactly and for some reason nodejs -v did not work but node -v did.
Thank you for this useful tutorial.
Itβs possible to have one for Apache2 ?
Hi, thanks for the tutorial, itβs working great. However, I would like to be able to access the application from other computers on the LAN the server belongs to. At the moment, when I point to the IP of the server, Iβm redirected to a standard Nginx landing page instead of the Node.js app. I guess there is an option in the server blocks to exclude an IP range ?
Hey guys are these tutorials still accurate? Visiting an http://your_domain in a browser gets refused because they use https by default now. Iβve used curl and Iβm getting my content back but it doesnβt work in a browser. Am I correct?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.