SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    How to Build a Static Website on a Raspberry Pi
Date    Tuesday March 11, @07:23PM
Author    janrinok
Topic   
from the self-hosting-for-the-win dept.
https://soylentnews.org/article.pl?sid=25/03/11/1134214

canopic jug writes:

These days most ISPs allow self-hosting to some extent. Programmer Mira Welner has published a 15-step tutorial to getting a working static web site up and running on a Raspberry Pi:

While tutorials abound in regards to getting a basic webserver set up, there is a difference between a functional server and a good usable website. I've been working on getting my personal site set up over the course of the past five years, spending an hour or so every month working on improving the Pi. I never intended for this personal project to become so lengthy or complex, but eventually I ended up with a fairly robust system for running, maintaining, and editing my website. This tutorial will describe what I've learned throughout the process of creating this site in 15 steps, so that you can use it to create and maintain your own sites.

This tutorial assumes that you already know how to use the command line, and that you have some understanding of HTML and CSS. That is about it.

Any always-on system is going to need to draw as little current as possible, and it is hard to beat a Raspberry Pi Zero 2 W which uses under 150 mA. This tutorial stands out as better than most others because of the small details filled in necessary to go from "Hello, World" page to a working, public web site.

Previously:
(2025) AI Haters Build Tarpits to Trap and Trick AI Scrapers That Ignore Robots.Txt
(2025) A Better DIY Seismometer Can Detect Faraway Earthquakes
(2024) How the Raspberry Pi is Transforming Synthesizers
(2023) Free Raspberry Pi 4B in Abandoned Scooters
... and many more.


Original Submission

Links

  1. "canopic jug" - https://soylentnews.org/~canopic+jug/
  2. "15-step tutorial to getting a working static web site up and running on a Raspberry Pi" - https://mirawelner.com/posts/website_howto.html
  3. "a Raspberry Pi Zero 2 W which uses under 150 mA" - https://www.cnx-software.com/2021/12/09/raspberry-pi-zero-2-w-power-consumption/
  4. "AI Haters Build Tarpits to Trap and Trick AI Scrapers That Ignore Robots.Txt" - https://soylentnews.org/article.pl?sid=25/01/30/2217217
  5. "A Better DIY Seismometer Can Detect Faraway Earthquakes" - https://soylentnews.org/article.pl?sid=25/01/04/153244
  6. "How the Raspberry Pi is Transforming Synthesizers" - https://soylentnews.org/article.pl?sid=24/04/25/042252
  7. "Free Raspberry Pi 4B in Abandoned Scooters" - https://soylentnews.org/article.pl?sid=23/08/07/1619244
  8. "Original Submission" - https://soylentnews.org/submit.pl?op=viewsub&subid=65205

© Copyright 2025 - SoylentNews, All Rights Reserved

printed from SoylentNews, How to Build a Static Website on a Raspberry Pi on 2025-03-16 17:20:00