[{"data":1,"prerenderedAt":118},["ShallowReactive",2],{"seo-verification":3,"blog-deployer-nodejs-app-vps-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"id":7,"slug":8,"title":9,"excerpt":10,"readTime":11,"views":12,"isPinned":13,"publishedAt":14,"category":15,"categories":21,"featuredImage":23,"bgImage":24,"posterImage":25,"relatedSolution":26,"intro":28,"sections":29,"ctaTitle":69,"ctaBody":70,"ctaButton":71,"ctaUrl":72,"relatedPosts":73},137,"deployer-nodejs-app-vps","Deploying Node.js on a VPS: a stable, controlled runtime","Put a Node.js app into production on a VPS with PM2, environment variables, reverse proxy and a restart strategy.",7,0,false,"2026-02-08T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},4,"Development","developpement","bg-warning\u002F10 text-warning","dev",[22],{"id":16,"name":17,"slug":18,"color":19,"icon":20},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fdeployer-nodejs-app-vps-poster.svg",{"categorySlug":20,"appSlug":27},"nodejs-stack","A Node.js application in production must survive restarts, expose only what is necessary and log enough to remain maintainable. On a ServOrbit VPS, you keep control over the Node version, the process manager and the reverse proxy. This guide walks through a lean go-live: runtime, variables, long-running service and HTTPS.",[30,34,44,63,66],{"type":31,"title":32,"body":33},"h2","Why host Node.js on a VPS?","Node.js is designed to handle thousands of concurrent connections through its non-blocking asynchronous model, which makes it an ideal choice for REST APIs, real-time applications and microservices. On a VPS, you avoid the restrictions of shared hosting, which often prohibits persistent processes or WebSockets. You also benefit from complete isolation: your npm dependencies, your environment variables and your PM2 configuration are never shared with other tenants.",{"type":35,"title":36,"items":37},"ul","What you can do with Node.js on a ServOrbit VPS",[38,39,40,41,42,43],"Host a REST or GraphQL API accessible around the clock on a dedicated port (e.g. 3000 or 8080)","Deploy real-time applications with WebSockets (chat, push notifications, live dashboards)","Run a Next.js or Nuxt.js backend in SSR (Server-Side Rendering) mode for better SEO performance","Run scheduled tasks (cron jobs) and queue-processing workers with BullMQ or Agenda","Serve several Node.js projects on the same VPS via an Nginx or Caddy reverse proxy with distinct subdomains","Prototype and test microservice architectures without quota constraints or forced restarts after inactivity",{"type":45,"title":46,"steps":47},"steps","Install Node.js on your ServOrbit VPS",[48,51,54,57,60],{"title":49,"body":50},"Order a ServOrbit Cloud VPS","Go to the \u002Fvps-cloud page and choose a plan suited to your application workload. For most Node.js applications (API, SSR), a VPS with 2 vCPU and 2 GB of RAM is a good starting point. Finalize the order and wait for the activation confirmation email, which usually arrives in under two minutes.",{"title":52,"body":53},"Access the Marketplace in the client area","Log in to your ServOrbit client area, then navigate to the « My VPS » section. Select the VPS you just ordered and click the « Marketplace » tab in the management panel. There you will find the full list of stacks and applications available for automated installation.",{"title":55,"body":56},"Start the Node.js installation","In the Marketplace, search for the « Node.js Stack » application and click « Install ». The system automatically provisions Node.js LTS (the recommended active version), npm, and PM2 as the process manager to keep your applications running after a restart. The installation takes less than two minutes.",{"title":58,"body":59},"Deploy your first application","Connect to your VPS via SSH (ssh root@\u003Cip-de-votre-vps>), then transfer your project (git clone or scp). From your project directory, run npm install to install the dependencies, then pm2 start server.js --name mon-app to launch your application. By default, your app listens on the port you have defined (e.g. 3000); use pm2 save and pm2 startup for persistence across restarts.",{"title":61,"body":62},"Expose your application via Nginx (reverse proxy)","To make your application accessible on port 80 or 443 with your domain name, configure Nginx as a reverse proxy: create a server block that forwards incoming requests to http:\u002F\u002Flocalhost:3000 (or your app's port). Enable HTTPS with Certbot (Let's Encrypt) by running certbot --nginx -d yourdomain.com. Your API or application is then available at https:\u002F\u002Fyourdomain.com.",{"type":64,"body":65},"tip","Pro tip: use PM2 with an ecosystem.config.js file to manage several Node.js applications on the same VPS. This file centralizes environment variables (NODE_ENV, PORT, DATABASE_URL…), the number of instances in cluster mode, and restart strategies. Launch all your apps in a single command with pm2 start ecosystem.config.js and avoid storing your secrets directly in the source code.",{"type":64,"title":67,"body":68},"The official documentation","For advanced configuration, tool-specific options and version changes, refer to the \u003Ca href=\"https:\u002F\u002Fnodejs.org\u002Fdocs\u002Flatest\u002Fapi\u002F\" target=\"_blank\" rel=\"noopener noreferrer\">official Node.js documentation\u003C\u002Fa>. This guide covers going live on a ServOrbit VPS; the vendor documentation remains the reference for fine-tuning.","Deploy Node.js in minutes on a ServOrbit Cloud VPS","Launch your Node.js application on a reliable, scalable infrastructure, with automated installation via our Marketplace and technical support available to assist you.","Launch my Cloud VPS","\u002Fvps-cloud",[74,87,104],{"id":75,"slug":76,"title":77,"excerpt":78,"readTime":11,"views":79,"isPinned":13,"publishedAt":80,"category":81,"categories":82,"featuredImage":23,"bgImage":24,"posterImage":84,"relatedSolution":85},47,"deployer-nuxt-vps","Deploy a Nuxt Application on a VPS","Deploy Nuxt 3 on a VPS: Nitro, Node.js, PM2, Nginx, and SSL. A guide for Vue developers who want to self-host their application.",739,"2026-05-04T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":20},[83],{"id":16,"name":17,"slug":18,"color":19,"icon":20},"\u002Fblog\u002Fcovers\u002Fdeployer-nuxt-vps-poster.svg",{"categorySlug":18,"appSlug":86},"nuxt",{"id":88,"slug":89,"title":90,"excerpt":91,"readTime":11,"views":92,"isPinned":13,"publishedAt":93,"category":94,"categories":99,"featuredImage":23,"bgImage":24,"posterImage":101,"relatedSolution":102},39,"deployer-avec-caddy","Deploy your applications with Caddy on a VPS","Deploy Caddy on your VPS: web server and reverse proxy with automatic HTTPS. A Caddyfile of a few lines is enough to go into production.",443,"2026-05-12T00:00:00+00:00",{"id":95,"name":96,"slug":97,"color":98,"icon":97},3,"Deployment","deploiement","bg-success\u002F10 text-success",[100],{"id":95,"name":96,"slug":97,"color":98,"icon":97},"\u002Fblog\u002Fcovers\u002Fdeployer-avec-caddy-poster.svg",{"categorySlug":97,"appSlug":103},"caddy",{"id":105,"slug":106,"title":107,"excerpt":108,"readTime":109,"views":110,"isPinned":13,"publishedAt":111,"category":112,"categories":113,"featuredImage":23,"bgImage":24,"posterImage":115,"relatedSolution":116},41,"deployer-avec-coolify","Deploy Your Applications with Coolify on a VPS","Deploy your applications with Coolify on a VPS: a self-hosted open source PaaS in the style of Heroku, with Git, Docker, and automatic SSL.",8,1640,"2026-05-10T00:00:00+00:00",{"id":95,"name":96,"slug":97,"color":98,"icon":97},[114],{"id":95,"name":96,"slug":97,"color":98,"icon":97},"\u002Fblog\u002Fcovers\u002Fdeployer-avec-coolify-poster.svg",{"categorySlug":97,"appSlug":117},"coolify",1785628430420]