Node.js hosting in Mumbai: deploy an Express, NestJS or Next.js app
How to host a Node.js app (Express, NestJS, Next.js) in Mumbai on HostRob: port 3000, pm2, environment, domains and SSL.
Short answer
To host a Node.js app on HostRob, create a Node.js container, upload your app to /home/appuser/app, make it listen on port 3000, and start it with pm2 (via .hostrob/ecosystem.config.js) or npm start. The app runs in its own container in Mumbai with automatic SSL. Plans start at ₹299 a month; most production APIs fit Pro or Business.
The one rule: listen on port 3000
HostRob routes your domain to port 3000 inside the container. Read the port from the environment with a 3000 fallback, for example app.listen(process.env.PORT || 3000).
Deploy steps
- Create a Node.js container in the panel.
- Upload your code to
/home/appuser/appby SFTP, the file manager or a ZIP upload. Skipnode_modules; it is installed on the server. - Optional: add
.hostrob/ecosystem.config.jsto run under pm2 (cluster mode, memory limits, log rotation). Without it, the platform runsnpm installandnpm start. - Restart the app from the panel, or over SSH run
sudo supervisorctl restart nodeapp. - Add your domain in the panel and point an
Arecord to the IP shown; SSL is automatic.
Next.js
Run next build, then start with next start -p 3000 (or set it in your pm2 file). Static exports can be served as a static site instead.
Which plan
A small API or bot: Pro (₹699/month: 1 vCPU and 1 GB per container, 15 GB NVMe). An app with a database and real traffic: Business (₹1,499/month: 2 vCPU and 2 GB per container, 30 GB NVMe) or Business Plus (₹7,990/month: 4 vCPU and 6 GB per container, 80 GB NVMe), which add managed PostgreSQL and MongoDB. Each app can live in its own container, up to the plan's container count.
Questions
Does HostRob support WebSockets?
Yes. Traffic reaches your container over HTTP/1.1 and HTTP/2 through Traefik, and WebSocket upgrades on port 3000 work.
Can I run background workers or cron jobs?
Yes, run them under pm2 inside the same container, within the plan's CPU and memory caps.
Which Node.js versions are available?
Current Node.js LTS releases.
More guides
- WordPress hosting in India
- Laravel and PHP hosting in India
- Move from GoDaddy to HostRob
- Container vs shared vs VPS hosting
- Hosting data in India
Updated 21 October 2026. Written by the HostRob team, FutureFist Tech Solutions LLP.
Try it on HostRob
Your first container is ready in under a minute. 14-day money-back guarantee.