Skip to content

A hosting panel you can delete and your servers won't care

Why I built Barectl, an open-source local-first hosting panel for PHP, WordPress, and Laravel that reads server state over SSH instead of locking it inside a database.

6 min read
A dark-glass Barectl terminal window connected by a glowing SSH link to a Linux server
On this page7 sections

Delete the panel. Wipe its database. Your sites keep serving traffic, and a fresh install on another computer can reconnect over SSH and find them again.

That is the premise behind Barectl, an open-source hosting panel I built for running PHP, WordPress, and Laravel on your own VPS. It runs locally on your machine with no server-side agent, no monthly subscription, no cloud control plane, and no Docker requirement. The current release is v1.3.1.

There are already plenty of hosting panels out there, so it is fair to ask why I bothered building another one.

Paying twice for the same server

This started with a simple annoyance. When I rent a VPS directly from a cloud provider, I am already paying for its CPU, memory, storage, and bandwidth. Put that same server under a managed platform like Cloudways and you pay much more for the same hardware. Manage it through Laravel Forge and you still carry a monthly subscription on top of the VPS bill.

Both are solid tools, and I understand why teams pay for them. Convenience, automation, and support are worth real money when you want them. Still, I kept wondering why I needed a monthly subscription just to get a decent interface for a server I already own and maintain.

Free panels like CloudPanel remove the monthly fee, which solves half the problem. They still leave the second problem untouched.

Why should the panel own the state?

Your Linux server already knows everything about itself. It knows which websites are hosted, which PHP versions are running, how each service is configured, and which cron jobs are active. All of that lives in ordinary Linux config files, running services, and system logs.

Given that, it never made sense to me that a control panel’s own database should be the authority on what is running on my server. If that database gets lost or corrupted, recovering the management app suddenly blocks you from managing a server that is still up and healthy.

The server itself should be the source of truth, and the panel should be an interface to it. I built Barectl around that single rule.

How Barectl works

Barectl runs locally on your machine and connects to supported Ubuntu servers over SSH. There is no background agent to install on the VPS and no hosted control plane to keep alive. It manages standard Linux services directly.

Because Barectl reads supported sites and services from the server instead of trusting its own database, losing the dashboard is not an emergency. You can install a fresh copy of Barectl on a new laptop, connect with an authorised SSH key, and let it scan the server to rebuild the view of your sites and services.

You will not get back the old install’s local user accounts, saved server connections, or past operation history. Everything running on the server stays intact, though, and you can pick up managing it right away. Your sites and scheduled jobs do not depend on Barectl being open or even installed.

What it manages today

Barectl started as a small experiment in inspecting and managing servers over SSH. Since then it has grown into a working hosting panel that handles:

  • PHP, WordPress, and Laravel site provisioning
  • Multiple PHP and Node.js runtimes
  • Caddy, PHP-FPM, HAProxy, and Nix
  • MariaDB, PostgreSQL, and per-site Valkey
  • Laravel deployments, rollbacks, queues, and schedulers
  • WordPress cron management
  • Encrypted restic backups with S3-compatible offsite storage
  • Server logs, journal retention, security settings, and native service controls
  • An on-demand security check that compares installed runtimes against upstream advisories and checks which ports are reachable from your machine
  • A local CLI for refreshing a server and checking operation status

The hardest engineering problem in Barectl has been making server changes recoverable when something stops midway. When a run cuts out, Barectl neither assumes the server is untouched nor retries the command without checking. You review planned changes before they run, Barectl executes native commands on the server and checks the result, and if anything is left half-done it reads the server state and flags what needs your attention.

What if the controller dies halfway through?

After I shared the first version of this post, a reader asked a sharp question. What happens if the machine running Barectl dies partway through provisioning a site, and you reconnect from a brand-new install? Without the old operation history, can Barectl tell how far it got and avoid repeating something destructive?

I added a test for that exact failure path. If a site creation stops halfway through, the server ends up with the site’s user account and files on disk, but no web route. A fresh Barectl install starts with an empty database and no record of that run. Even so, it reads the server’s own journal, lists the interrupted job under “Needs attention” with the status “Could not confirm”, and blocks you from creating the same site over the partial files. Instead, it points you to “Remove site”, which cleans up only what exists on the server. Once that finishes, you create the site again and it serves traffic.

That same rule holds across the whole panel. Once a change reaches the server, Barectl never replays it automatically. If the server loses power mid-operation, Barectl marks the result as unknown and waits for you to review it instead of guessing.

Automated tests cover these cases, and the recovery matrix spells out what each failure scenario guarantees and where those guarantees stop.

Where Barectl stands today

Barectl v1.3.1 is open source under the Apache 2.0 licence. Full management targets fresh Ubuntu 26.04 LTS servers on tested amd64 and arm64 setups, along with servers already running the Barectl stack. If you connect an existing server running Nginx, APT PHP, or another hosting panel, Barectl opens it in read-only mode so you can inspect it without risking its config.

It is not trying to support every Linux layout ever built, and it is not trying to clone every managed service Cloudways sells. I am building it for developers who already manage their own VPS and want a clean interface that neither charges a monthly fee nor turns into a dependency you cannot live without.

Keeping panels disposable

Hosting panels should not own the truth about your servers. Linux already gives us solid tools to run web apps, supervise processes, schedule jobs, hold configuration, and keep logs. A panel should make those tools easier to work with, not trap you behind a database you have to keep alive just to manage your own machines.

If you run your own VPS for PHP, WordPress, or Laravel projects, try Barectl and let me know what breaks or what is missing. The source code, setup steps, and recovery notes are all on GitHub.

Originally published on LinkedIn on 22 November 2026.

Filed underLinuxBarectlPHPWordPressLaravelSelf-Hosting
Share

Rajan Dangi

Senior Web Developer

Senior web developer at SathiSoft. I write about PHP, Python, Linux and the practical details of building for the web.