Deploy

Node.js hosting,

without the server admin.

Deploy any Node.js app or API straight from a GitHub repo. SelfHost auto-detects the build, ships it onto a server we provision and maintain, and keeps it healthy with auto-deploy on push, PR previews, and SSL. The control of your own Node server, with none of the upkeep.

Why rent a VPS and babysit Node, when you can SelfHost it?

Auto-detected build /Express, NestJS, Fastify, any framework /Custom domain + SSL /From ~$0.02/hr

What you get

Your Node app, in production.
On a server you control.

Whether it is an Express API, a NestJS backend, a Fastify service, or a plain Node worker, SelfHost builds it from your repo and runs it on a dedicated server. No Dockerfile required, though you can bring one, no reverse proxy to wire up, no OS to patch. Add a database and a domain and you are live.

Nixpacks (auto), or your Dockerfile

Deploy in 5 steps

From zero to live.
No server to set up.

From a GitHub repo to a live Node service in a few steps, with the server handled for you.

1

Create a Project

Give it a name and SelfHost provisions a dedicated server for you in a couple of minutes. No cloud or region wrangling.

2

Connect your Node repo

Connect the GitHub App or paste a public repo URL, then pick the branch to deploy. Enable auto-deploy on push so every commit ships.

3

Let the build pack detect Node

Nixpacks detects Node from your package.json and runs your install and build scripts. Set the start command, port, and base directory if your repo needs it, or bring your own Dockerfile.

4

Set environment variables

Add your secrets and config, or paste a .env to import in bulk. They are wired into every build and deploy.

5

Add a database and a domain

Drop in a PostgreSQL, Redis, MySQL, or MongoDB database, point a custom domain, and HTTPS goes live automatically.

Environment variables

Configure it
in minutes.

Most Node apps need a few variables. SelfHost wires them into the build:

Paste a .env to import in bulk, or set keys one by one. Values are wired into every build and deploy.

Key variables

NODE_ENV Usually set to production for a deployed app.
PORT The port your server listens on; match it to the project port setting.
DATABASE_URL Connection string for your project or managed database.
JWT_SECRET / API keys Any secrets your app reads from the environment.

What you get

Node.js, the easy way.
On a server you control.

Any Node framework

Express, NestJS, Fastify, Koa, Hapi, or a plain Node script. If it runs on Node, it deploys here.

Auto-deploy on push

Every push to your branch builds and ships, with PR preview environments, one-click rollback, and streaming logs.

A server you control

Your app runs on a dedicated server with live CPU, memory, and connection metrics, not a shared black box.

Databases alongside

Add PostgreSQL, Redis, MySQL, or MongoDB to the same project, or attach a dedicated managed PostgreSQL instance.

Custom domain + SSL

Add your domain, verify DNS, and HTTPS is provisioned and renewed automatically.

Pay only for what you run

Billed by the hour against prepaid credits, from about $0.02/hr, and paused at a zero balance.

Which one

One server, many services

A Node API rarely runs alone. Put your API, a frontend, a worker, and their databases on the same project server, billed as one server, not a service-by-service meter.

Frequently Asked Questions

How do I host a Node.js app on SelfHost?
Connect your GitHub repo, and Nixpacks auto-detects Node from your package.json, installs dependencies, and runs your build and start commands on a server we provision. Set the port and any env vars, add a domain, and you are live, with auto-deploy on push.
Which Node frameworks are supported?
Any of them. Express, NestJS, Fastify, Koa, and plain Node all work, since the build runs your own scripts. Bring a Dockerfile if you need full control of the build.
How much does Node.js hosting cost?
You pay for the project server your app runs on, pay-as-you-go by the hour from around $0.02/hr (about $0.50 a day), with no tiers. Link a card for a welcome credit worth roughly 48 hours. See pricing.
Can I connect a database?
Yes. Add a one-click PostgreSQL, Redis, MySQL, or MongoDB to your project, or attach a dedicated managed PostgreSQL instance, and read the connection string from your environment. Managed PostgreSQL.
Do I have to manage the server?
No. SelfHost provisions and runs the server, including OS patching and uptime. You get metrics and logs and simply deploy. How Projects work.

Your Node app, in production.
On a server run for you.

Deploy from GitHub
Database included
Run a project free for ~48 hours
Deploy Node.js