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.

Sitehoster

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.

Contents

The sections of sitehoster.org, and the pages in each.

Technologies

More development