How Can I Host a Simple Website on a Raspberry Pi?
Asked by
CandyCaper123
Hey everyone! I just graduated with an associate degree focused on computer science and I'm thinking of helping my current boss at the candy store by setting up a small website for them. I know some basics about networking and I believe a Raspberry Pi could be a good option since the expected traffic will be lowโprobably less than 10 users at a time. I'm looking for advice on resources or material that can guide me through this process. Any suggestions?
Answers
I used to mess around with Raspberry Pi tooโit's a great way to learn! Just be aware that it can struggle with real traffic. I tried hosting something once, and when actual users came in, everything crashed. So while it's fun for experiments, it might not be the best for a serious site.
Reply to this answer
It really depends on what you're building! If your site is mostly static, you might want to consider using GitHub Pages or Cloudflare Workers instead. Theyโre excellent for low traffic sites, and you'll avoid some pitfalls of local hosting, like reliability issues. Plus, you wouldn't have to worry about power outages or securing your local network from the internet's bots.
Reply to this answer
Add your answer
Answers are reviewed before publication.
CandyCaper123: That makes sense! I didn't think about the reliability aspect. Thanks for the tip!