# Node.js hosting

> What Node.js apps need from a host and how shared, VPS, cloud and platform options compare.

Source: https://comparehostingonline.com/hosting-for/nodejs/

## Short answer

Node.js apps run as long-lived server processes, so they need a host that supports Node.js: a VPS or cloud server, a managed Node.js platform or a shared plan with a Node.js app manager. Plain static hosting cannot run a Node.js server.

Last verified Nov 28, 2026 · [How we test](https://comparehostingonline.com/methodology/)

## How a Node.js app runs

A long-lived process

1.  **Your app** A Node.js server process
2.  **Host runtime** Keeps the process running
3.  **Reverse proxy** Handles HTTPS and routing
4.  **Visitors** Requests reach your app

## Options for running Node.js

Where to run Node.js

| Type | Control | Low effort | Low cost | Scalability |
| --- | --- | --- | --- | --- |
| [VPS or cloud server](https://comparehostingonline.com/hosting-types/vps/) | 5 out of 5 | 2 out of 5 | 4 out of 5 | 4 out of 5 |
| [Managed platform](https://comparehostingonline.com/best/cloud-hosting/) | 2 out of 5 | 5 out of 5 | 3 out of 5 | 5 out of 5 |
| [Shared plan with Node app manager](https://comparehostingonline.com/hosting-types/shared/) | 2 out of 5 | 4 out of 5 | 5 out of 5 | 1 out of 5 |
| [Containers](https://comparehostingonline.com/hosting-for/docker/) | 4 out of 5 | 3 out of 5 | 4 out of 5 | 5 out of 5 |

Editorial ratings from 1 (weak) to 5 (strong).

## What to check

-   **Node.js versions** Supported versions and how you upgrade.
-   **Resource limits** Memory and process limits matter most on shared plans.
-   **Idle behavior** Some hosts stop idle apps, causing slow first requests.
-   **Background jobs** Long-running workers may not be allowed on shared plans.
-   **Logs and process control** So you can see and restart your app.
-   **Database access** And where the database runs.

## How do you run a Node.js app in production?

1.  1
    
    **Install a supported Node.js version**
    
    Use a long-term support release.
    
2.  2
    
    **Run it under a process manager**
    
    systemd or a manager keeps it running.
    
3.  3
    
    **Add a reverse proxy**
    
    For HTTPS and routing.
    
4.  4
    
    **Monitor and log**
    
    Watch memory and errors.
    

## What should you check in a host?

-   Node.js versions and how you upgrade.
-   Memory and process limits, especially on shared plans.
-   Background jobs and idle behaviour.
-   Database access and backups.

## Shared, VPS or platform?

Some shared plans offer a Node.js app manager for small apps. A VPS gives more control; see [VPS hosting](https://comparehostingonline.com/hosting-types/vps/). A platform removes server work; see [hosting for startups](https://comparehostingonline.com/best/hosting-for/startups/).

## Sources and further reading

-   [Node.js learning resources](https://nodejs.org/en/learn)
-   [Nginx documentation](https://nginx.org/en/docs/)
-   [Ubuntu Server documentation](https://ubuntu.com/server/docs)

## Common questions

Can I run Node.js on shared hosting?

Some shared plans have a Node.js manager for small apps, but a VPS gives more control.

How do I keep the app running?

Use systemd or a process manager so it restarts on failure and at boot.

Do I need a reverse proxy?

Usually, for HTTPS and routing.

Which Node.js version should I use?

A current long-term support release; check the project's release schedule.

How do I deploy updates?

Use git and a deploy script, or a platform with automatic builds.

## Related

[VPS hosting](https://comparehostingonline.com/hosting-types/vps/) [Docker hosting](https://comparehostingonline.com/hosting-for/docker/) [Best cloud hosting](https://comparehostingonline.com/best/cloud-hosting/)

## More hosting by stack

[Best hosting for PHP and Laravel](https://comparehostingonline.com/hosting-for/php-laravel/) [Static site hosting](https://comparehostingonline.com/hosting-for/static-sites/) [Hosting for n8n (self-hosted automation)](https://comparehostingonline.com/hosting-for/n8n/) [Python and Django hosting](https://comparehostingonline.com/hosting-for/python-django/) [Ruby on Rails hosting](https://comparehostingonline.com/hosting-for/ruby-on-rails/)

MH

**[Muhammad Hamza](https://comparehostingonline.com/team/muhammad-hamza/)** Founder & Editor

Writes and signs off every comparison, and runs the compliance reviews. Has worked on SOC 2 and HIPAA compliance programs for companies.

Our [editorial policy](https://comparehostingonline.com/editorial-policy/) and [testing method](https://comparehostingonline.com/methodology/) are public.
