Sitehoster
Convenient local editing for static websites.
Sitehoster/
example.com/ → https://example.com
blog.example.com/ → https://blog.example.com
shop.example.com/ → https://shop.example.com
Features
Folders are domains
A folder named example.com is served at example.com. Subdomains are folders
too. www redirects to the bare domain unless a www. folder exists.
Automatic HTTPS
Caddy gets a real certificate for every domain whose DNS points at the server, renews it forever, and redirects plain HTTP straight to HTTPS, no configuration.
Stateless sync
A small local tool runs on a timer, compares metadata, and pushes only what changed. It keeps no state and never reads a file it needn't.
Get Started
Three small pieces (Caddy out front, a localhost-only API, and a stateless local sync tool) and a single rule: a top-level folder named for a domain becomes that HTTPS site.
Stand up a server
Any small Linux box with Caddy and Node. One installer lays it all out and prints a single token.
Set up the server →Point a domain at it
Add an A record → your server's IP. That's all Caddy needs to issue a real certificate on the first visit.
Drop in a folder
Make example.com/ in your content root and put your index.html
inside. New and removed domains are picked up on the next sync, no restart.
Sync
Run it locally. It diffs file metadata, uploads only what changed, and the site is live.
Run it locally →Automation
Easily manage duplicated and templated content via automation, mark up a block once and let the automation script keep the rest of the site in sync.
Duplication
Edit a block once, for example the site footer, and have it copied, verbatim, onto every page.
Duplication →Navigation
A navigation is duplicated like any block, with one extra step: each copy highlights the item for the page it sits on.
Navigation →Data
Your pages are a database: records on each page feed listings and counts elsewhere, filled from templates and kept in step.
Data →Browser Extension
Change your sites by describing what you want while you browse them, with no need to dig through the files. The browser extension hands a ready-made prompt to a local AI agent, which makes the edit in your site folder.
Part of the Localhoster family
Sitehoster is one of a set of small, self-hosted services that all work the same way - a directory of domain folders, mirrored to your own server.