Start with the control plane
Install Nearzero on a dedicated Linux host. Then add workload servers and public hostnames. Read the security notes before you expose management ports or turn the Agent on for production.
Architecture
Your servers run the apps. Nearzero is the control plane.
Open guide → 02Self-host Nearzero
Verify the installer, set DNS, claim the first owner
Open guide → 03Remote servers
Add a Linux VPS and send traffic straight to it
Open guide → 04Domains and HTTPS
Point the hostname at the server that runs the app
Open guide → 05Agent safety
It can see your infra. Production writes start off.
Open guide →Your servers run the apps
Nearzero is the control plane. Docker, Traefik, and databases run on Linux you operate. One host can do both jobs. When you add another VPS, workloads move there. Projects, deploys, DNS, and Agent policy stay on the control plane.
Runs Nearzero: console, API, monitoring, and optional CoreDNS.
Run Traefik and the apps you place on them. They do not run Nearzero DNS.
Nearzero writes an A record to the server selected for that service.
Can read deploys, logs, and servers. Production writes stay off until you turn that gate on.
Lock the management plane down first
- 1Use a dedicated control-plane host.
Its Docker socket and stored credentials are privileged infrastructure.
- 2Verify the installer checksum.
Download the versioned script and published SHA-256 file before execution.
- 3Restrict SSH and management access.
Allow only administrative source ranges and protect the dedicated server key.
- 4Back up Postgres and privileged configuration.
Encrypt off-host backups and test restoration before production use.
Questions this page answers
Where should I start with Nearzero?
Install the Community control plane on a dedicated Linux VPS. Then read architecture, remote servers, and domains before you expose production traffic.
Is this documentation for self-hosting?
Yes. These guides cover installing Nearzero on infrastructure you own: the control plane, workload servers, Traefik HTTPS, and Agent policy.