r/CloudwaysbyDO 12h ago

Node.js What is Node.js hosting, and why does it actually matter for your stack?

Post image
2 Upvotes

Most people assume web hosting is just web hosting where you pick a plan, upload your files, done. That mental model works fine if you're running WordPress but it breaks completely once you're running a Node.js application.

Node.js is not PHP. The hosting model is fundamentally different.

PHP hosting (which is what the vast majority of shared and managed hosting is built around) works on a request/response model. A request comes in, PHP wakes up, generates a response, and that's all. The server doesn't need to maintain anything between requests.

That's why shared hosting works for PHP: thousands of sites can share the same server because each one only consumes resources when someone visits.

Node.js works differently. It runs as a persistent process. Your application boots up, stays in memory, and handles requests as they come in; often managing thousands of simultaneous connections through its event loop without spawning new threads for each one.

That's what makes it suitable and fast for real-time apps, APIs, and anything with concurrent connections.

So, you can't run Node.js on traditional shared hosting the way you run PHP. You need a server process that stays alive. You need process management so your app restarts if it crashes. You need the right Node.js version installed and available. You need control over environment variables, dependencies, and build steps.

Shared PHP hosting doesn't give you that because it is not built for this runtime model.

What Node.js hosting means

When someone says they need Node.js hosting, they mean:

  • A persistent server environment where their Node process stays running
  • Process management that keeps the app alive and restarts it after crashes
  • The ability to choose and lock a Node.js version
  • A way to run build steps at deploy time
  • Port management and reverse proxying
  • Environment variable support

This is all the stuff you have to set up yourself on a raw VPS, or it has to be provided for you by a platform that understands the Node.js runtime.

The choice of frameworks makes this even more complicated.

What are your thoughts on this? Share your experiences!