Sitehoster
Static hosting for the Localhoster family: mirror a folder of domains to your own server, which issues certificates and serves every site over HTTPS automatically.
About
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, point a domain at it, drop in a folder and sync. This site is published that way.
Its automation keeps repeated content in step: mark up a block once, such as the navigation or the footer, and the sync copies it onto every page.
Features
Folders are domains
A folder named example.com is served at example.com. Subdomains are folders too.
Automatic HTTPS
A real certificate for every domain whose DNS points at the server, renewed for ever, with no configuration.
Stateless sync
A small local tool runs on a timer, compares metadata and pushes only what changed.
Duplication
Edit a block once, such as the site footer, and it's copied verbatim onto every page.
Navigation
A menu is duplicated like any block, and each copy highlights the item for the page it sits on.
Pages as data
Each page can carry a record, and other pages pull those into listings and counts, filled from templates and kept in step.
Grouping
Related sites in one folder share one footer, one menu and merged data, across subdomains or separate domains.
Logs and health
Built-in tools chart each site's traffic, the server's CPU, memory, disk and network, and what the automation built.
HTML comments
Every automation is a pair of HTML comments around a block, so pages stay plain HTML that works without Sitehoster.
Screenshots
sitehoster.org covers setting up a server and the local tool, the on-page automation and the log tools that come with it.
Folders become sites
A folder for each domain, synced to the server, each served over HTTPS. Visit sitehoster.org ↗
Web logs
Every site's traffic ranked and charted, split into success and error, down to each path and response code, from a month to a single hour. See the web logs ↗
Server logs
The machine's own health across CPU, memory, disk and network, shown as the spread of samples in each period, from a month down to the minute. See the server logs ↗
Automation logs
What the automation built on each site, its records, listings, counts, duplicated blocks and navigation, with per-site and server-wide totals. See the automation logs ↗
Automation
Duplication, navigation, data and grouping, all marked up with special HTML comments that the sync reads to update the pages. Read the guide ↗
Reference
The field types, every command, the attributes each one takes and the filter operations, all searchable. Open the reference ↗
Contents
The sections of sitehoster.org, and the pages in each.
Technologies
More development
- Frontend Development - A studio for fast, accessible, standards-based frontends
- Stylesheet.css - A CSS framework for semantic HTML, with no JavaScript
- PHP Framework - A PHP framework assembled from around 130 small modules
- Localhoster - Build a website as a local folder named after its domain
- Datahoster - Drop a folder, get an API