Engineering Practice

A Five-Step Path to a Low-Cost Website: Self-Hosted Server, Hugo, GitHub Pages, Cloudflare Pages, and Baidu Indexing

1791 words · ~9 min read
0 views

This is a retrospective of a website’s full evolution from launch to stability, covering five steps: a self-hosted server, a static site generator, GitHub Pages, Cloudflare Pages, and Baidu indexing. Site identity and domain information have been removed; what is discussed is the trigger, cost, and trade-offs behind each migration. The conclusions apply directly to startups and individuals.

The conclusion first: a stable website does not need a server of your own. The only hard cost across the whole path is the annual domain fee; hosting and CDN can run on free tiers, and indexing is completed through proactive submission on the webmaster platform. Each migration in the five stages was triggered by one concrete problem: the server brought self-managed operations, hand-written pages brought maintenance cost, GitHub Pages brought mainland-China accessibility and commercial-use constraints, and Cloudflare Pages plus indexing submission closed the loop. By the end of the path, the fixed cost of the website reduces to the domain alone.