This is a wonderful project and an even more wonderful write-up, I wish I came across more in this tone! I'll just add to anyone following in these footsteps: be careful what type of website you host on your Pi. Self-hosting is great, but if you expose services on your home network to the internet, expect people to try to hack you. What type of site you host will either make this very hard or very easy. The differenc…
How I built this website on a Raspberry Pi
21–30 of 94 posts
Re: How I built this website on a Raspberry Pi
#22I know it's not strictly best practice but store your private key in your password manager. That way if the worst happens you aren't up a creek...
Re: How I built this website on a Raspberry Pi
#23This is a wonderful project and an even more wonderful write-up, I wish I came across more in this tone! I'll just add to anyone following in these footsteps: be careful what type of website you host on your Pi. Self-hosting is great, but if you expose services on your home network to the internet, expect people to try to hack you. What type of site you host will either make this very hard or very easy. The differenc…
I find that ufw is a pretty simple firewall interface for linux.
I highly recommend firewalld instead.
Re: How I built this website on a Raspberry Pi
#24[flagged]
Re: How I built this website on a Raspberry Pi
#25Instead, they took the simplest possible route that works: installing the web server on bare metal, serving plain HTML and CSS, and using direct port forwarding via the router. This was a delightful read.
Re: How I built this website on a Raspberry Pi
#26Re: How I built this website on a Raspberry Pi
#27Re: How I built this website on a Raspberry Pi
#28I really enjoyed this but at the same time find it completely perplexing - I can't place where the author is coming from - they are either really good at explaining things from the point of view of someone who knows almost nothing about this stuff or they genuinely started this without knowing most of it. I'm not sure which would be more impressive.
Re: How I built this website on a Raspberry Pi
#29I like how the author didn’t try to be overly clever with it. They could’ve used Docker to install and isolate dependencies, Caddy or Traefik to serve the site and manage SSL automatically, maybe even k3s to run a mini cluster for HA, Tailscale to avoid manual port forwarding, Terraform for future auto-provisioning without hassle, or Ansible to prepare the machine and all that jazz. Instead, they took the simplest po…
On top of a Linux distro is not what people usually call bare metal
Re: How I built this website on a Raspberry Pi
#30After using nginx and caddy for some time I can't fathom going back to apache config files.