Raspberry Pi is an inexpensive computer board popular among hobbyists, especially for self hosting.
Why for self hosting
The Raspberry Pi is an excellent computer for self hosting small websites.
The Raspberry Pi can run in the background without interruption which means that it can act like any remote web server, except you own it and have to maintain the server.
- There is a lot of documentation on how to self-host a website using a Raspberry Pi
- Raspberry Pis are cheap (especially the Pi Zeros, which can cost as little as $5)
- If your Raspberry Pi breaks, replacing it is not a massive cost.
- Pis run on Linux by default so you can use tools like Nginx and Apache to host a website.
- Setting up a Pi involves some technical know-how.
- See also self hosting challenges
IndieWeb community members hosting their sites on a Raspberry Pi device!
j4y_funabashi is hosting his site j4y.co on a Raspberry Pi since 2016-03-20!
I was using my raspberry pi as a local version of my site anyway and I started wondering how easy it would be to use that instead of my hosting provider (who could turn evil / lose my data) After a bit of research I found that it would be relatively simple, all I had to do was:
- login to my router
- forward port 80
- point my domain at my external IP address.
So now all my data is stored on a pi in my house, which is periodically backed up to an external hard drive (also planning to backup offsite to s3) which feels great!
If anyone needs help setting this up for themselves I would be glad to help you figure it out (though I am certainly not an expert!)
capjamesg is hosting his weather station on a Raspberry Pi. He is using a Raspberry Pi Sense HAT to collect environmental data about his home office. This data is reported online using a Flask web server hosted with nginx.
- Because Pis are based on a version of Debian, they can run a wide range of self-hosted programs. Self-hosted programs give you another level of data ownership.