Server

Do this once, on the Linux box that will host your sites.

1

Get a server & note its IP

Any Linux box with systemd, a small VPS is plenty. Note its public IP address; the client and your domains will point at it.

2

Install Caddy & Node v20+

From your package manager: Caddy (from a package, so its systemd unit exists) and Node. The installer only checks for these, it never installs them.

3

Run the installer

Either pipe it straight to root, or download and verify it first, both produce an identical server.

curl -fsSL https://localhoster.org/install.sh | sudo bash
curl -fsSLO https://localhoster.org/downloads/localhoster.tar.gz
curl -fsSLO https://localhoster.org/downloads/localhoster.tar.gz.sha256
sha256sum -c localhoster.tar.gz.sha256
tar xzf localhoster.tar.gz && sudo localhoster/deploy/install.sh
It lays out the service, generates a self-signed cert, and prints an API token once, copy it; the client needs it.
4

Point your domains at it

Add an A record for each domain → your server's IP. That's all Caddy needs to issue a certificate on the first visit.

Manage the service with sudo deploy/start.sh / sudo deploy/stop.sh. Upgrade by re-running the installer (it keeps your token and sites); remove everything with sudo deploy/uninstall.sh.

Next Steps

Once you have set up your server, you are ready to start synchronising your sites.