Publish what runs at home,
without opening a port.
StageZero keeps your Cloudflare DNS on your home IP, publishes local services through a Cloudflare Tunnel, and puts Cloudflare Access in front of every hostname it publishes. One web app you run yourself, on one API token.
Free and open source under the MIT licence. Needs a domain on Cloudflare.
0
Router ports to open
1
Cloudflare API token
279
Automated tests passing
MIT
Licence
Self-hosting has three chores
Your home IP changes
The ISP hands you a new address and every hostname pointing at the old one goes dark until someone notices.
Publishing means opening ports
Forward 80 and 443 on the router, keep certificates renewed, and hope nothing else answers on them.
A published service is an open door
The dashboard you meant for yourself is now on the internet for anyone who finds the hostname.
How a visitor reaches your service
Traffic and TLS stay with Cloudflare. StageZero sets up the pieces and keeps them in step.
- 01
Visitor
Opens app.example.com
- 02
Cloudflare edge
Terminates TLS and checks the Access policy
- 03
Tunnel
cloudflared on your network, connecting outbound
- 04
Your service
e.g. http://localhost:8080, never exposed directly
StageZero writes the DNS records, tunnel ingress rules and Access applications through Cloudflare's API.
What it does today
StageZero is in beta. Everything below works now.
DNS that follows your IP and leaves the rest alone
StageZero checks your public IP every three minutes and rewrites any auto-update A record in Cloudflare that does not match, including one someone edited by hand. It changes the address only: the orange cloud, TTL, comment and tags stay as you set them.
An IP change has to be real
Three independent services are asked at once (Cloudflare, ipify and AWS), and two must agree before anything changes. A captive-portal page, a private address or a lone answer never moves your DNS.
Publish a local service without a port forward
Create or adopt a Cloudflare Tunnel, then map hostnames to services on your network. StageZero pushes the ingress rules and proxied CNAMEs, and prints the connector install command for macOS, Windows, Linux or Docker.
Every hostname gets a lock by default
Each new route gets a Cloudflare Access application, signed in with your email unless you choose otherwise (service tokens, both, or none). Service-token secrets are shown once and never logged or stored.
R2 storage, from the same screen
Create buckets, attach custom domains, browse and upload files up to 5 GB each, and mint per-app credentials scoped to the buckets they need, shown once and revocable.
One token, checked permission by permission
Settings lists the seven Cloudflare permissions StageZero needs and probes each one when you save the token, so a missing permission is named before anything is provisioned, not halfway through.
A sign-in that holds up on its own
Password sign-in with lockout after five wrong tries, per-address throttling, and sessions that end everywhere when a password changes. StageZero never sends email: a reset code goes to the server log, readable only by whoever runs the server.
Runs where you already run things
One container or one .NET 10 process, on SQLite out of the box or PostgreSQL if you prefer. Every font and script is served by StageZero itself: no CDN, no outside requests from the page.
Tells you when the outside world breaks
A /healthz endpoint reports unhealthy when the database is unreachable, and degraded when your public IP has not been confirmed for 15 minutes, the kind of outage a restart would not fix.
Up in three steps
- 1
Run it
Clone the repo and start it with Docker Compose. It listens on port 5100; the first visit creates your admin account.
docker compose up -d --build - 2
Add your Cloudflare token
Paste one API token on Settings. StageZero checks each permission it needs and tells you which are missing.
- 3
Map your hostnames
Pick DNS records to keep on your home IP, and hostnames to publish through the tunnel, each behind Cloudflare Access.
Runs anywhere Docker or .NET 10 runs, such as a home server or a small VPS. Full setup is in the README.
How StageZero compares
Against the tools a home lab usually stitches together for the same job.
| Feature | StageZero | Nginx Proxy Manager | Traefik | Caddy | Cloudflare dashboard | ddclient |
|---|---|---|---|---|---|---|
| What it covers | Dynamic DNS, tunnel routes, Access, R2 | Reverse proxy and certificates | Reverse proxy and certificates | Web server and certificates | Tunnel, Access, DNS | Dynamic DNS only |
| DNS, tunnel and Access in one self-hosted appStands out | Yes | No | No | No | Hosted by Cloudflare | No |
| Dynamic DNS for a changing home IP | Built in; two of three IP sources must agree | No | No | Third-party plugin | Not needed with a tunnel | Yes |
| How you configure it | Web UI | Web UI | Labels and files; read-only dashboard | Caddyfile, JSON or API | Web dashboard, API or config file | Config file |
| Cloudflare DNS API | Yes | For DNS-01 certificates | Via its ACME DNS providers | Plugin, custom build | Yes | Yes |
| TLS certificates | At Cloudflare's edge | Let's Encrypt, auto-renewed | ACME, including DNS-01 | Automatic HTTPS | At Cloudflare's edge | No |
| Licence | MIT | MIT | MIT | Apache-2.0 | Tunnel on all Cloudflare plans | GPL-2.0 |
Competitor details are from each vendor's own documentation and pricing pages, checked on 4 November 2026. “Not documented” means we could not find it either way. Sources: Nginx Proxy Manager, NPM repo, NPM DNS plugins, Traefik dashboard, Traefik ACME, Traefik repo, Caddy, Caddy automatic HTTPS, caddy-dynamicdns, caddy-dns/cloudflare, Cloudflare Tunnel, ddclient.
Good to know before you install
- Cloudflare is the only DNS provider and the only tunnel.
- Only A records follow your IP automatically; AAAA and CNAME records are tracked, not rewritten.
- Sign-in is a password, with no second factor yet.
- There are no published container images yet: today you build from the repo.
Your services, your hostnames, no open ports
Free and open source under the MIT licence.
Get it on GitHubShape what ships next
Hit a bug, or want something StageZerodoesn't do yet? File it, and vote on what everyone else has asked for. The vote count is what orders the backlog.
Report a bug or request a feature