Hi everyone,
I’ve been working on a small side project that I’ve been wanting to do for a while: setting up a fully self-hosted infrastructure at home using a few Raspberry Pi 4s. My goal is to reduce reliance on third-party services, learn a lot along the way, and create something that's both useful and fun.
In the first phase of this project, I plan to host a personal email server, a password vault (most likely Vaultwarden), and a lightweight Minecraft server where I can test plugins I’m developing and occasionally share it with friends. All Raspberry Pis will be connected via Ethernet, and I’m considering mounting the whole setup on the wall for better airflow and tidiness. I’ll be using active cooling (probably small fans) to keep things stable under load. Further down the line, I’d like to expand the system to include things like Home Assistant for automation, a WireGuard-based VPN server for remote access, and maybe even a lightweight Git service like Gitea or Forgejo to host my personal code projects. That said, I have a number of technical questions and would really appreciate any insights or shared experiences from those who’ve done similar things. One area I’m especially unsure about is setting up the mail server. I’m aware of the need to properly configure SPF, DKIM, and DMARC, but I’d love to hear from others what real-world steps you’ve taken to avoid ending up on blacklists or being flagged as spam. Managing a mail server at home seems like one of the more delicate aspects of this setup.
I’m also interested in best practices around hosting services like Vaultwarden behind a reverse proxy. I plan to use something like Nginx or Caddy, but I’m still figuring out how to handle SSL termination securely, manage access control, and generally harden these services for external access. Any real-world tips here would be incredibly valuable. Another area I’d like to learn more about is thermal management. I plan to use fan-based cooling, but I’m open to hearing what worked best for others in similar setups. Have you had better results with passive heatsinks, or is active cooling a must for sustained uptime? In terms of data reliability, I’m aware that SD cards are often the weak link in Raspberry Pi setups. Some people suggest switching to SSDs via USB, while others go the UPS route to avoid sudden shutdowns. If you’ve taken precautions against file system corruption or data loss, I’d love to know what you’ve tried and how well it worked.
I’m also wondering how others approach long-term uptime and reliability for home-hosted systems. Do you use automated rebooting, watchdog timers, or certain systemd tricks to ensure services stay up? What kind of system monitoring or logging do you find sufficient? I’ve been considering setting up something like Prometheus with Grafana dashboards, but I’m not sure if that’s overkill for a modest home setup like mine. Lastly, I’m curious how others handle internal networking. Have you implemented VLANs, QoS rules, or traffic shaping to segment or prioritize traffic between devices? With multiple Pis running different services, I want to make sure nothing steps on anything else’s toes, especially once more users or external access points are added. If you've built or maintained a similar setup, I’d love to hear what worked for you, what didn’t, and any general lessons you learned along the way. Also, if there are any good communities, forums, Discord servers, or other spaces where people discuss home lab setups or self-hosting, I’d love to join and follow along. Thanks in advance to anyone willing to share their experience. I really appreciate it!
I’ve been working on a small side project that I’ve been wanting to do for a while: setting up a fully self-hosted infrastructure at home using a few Raspberry Pi 4s. My goal is to reduce reliance on third-party services, learn a lot along the way, and create something that's both useful and fun.
In the first phase of this project, I plan to host a personal email server, a password vault (most likely Vaultwarden), and a lightweight Minecraft server where I can test plugins I’m developing and occasionally share it with friends. All Raspberry Pis will be connected via Ethernet, and I’m considering mounting the whole setup on the wall for better airflow and tidiness. I’ll be using active cooling (probably small fans) to keep things stable under load. Further down the line, I’d like to expand the system to include things like Home Assistant for automation, a WireGuard-based VPN server for remote access, and maybe even a lightweight Git service like Gitea or Forgejo to host my personal code projects. That said, I have a number of technical questions and would really appreciate any insights or shared experiences from those who’ve done similar things. One area I’m especially unsure about is setting up the mail server. I’m aware of the need to properly configure SPF, DKIM, and DMARC, but I’d love to hear from others what real-world steps you’ve taken to avoid ending up on blacklists or being flagged as spam. Managing a mail server at home seems like one of the more delicate aspects of this setup.
I’m also interested in best practices around hosting services like Vaultwarden behind a reverse proxy. I plan to use something like Nginx or Caddy, but I’m still figuring out how to handle SSL termination securely, manage access control, and generally harden these services for external access. Any real-world tips here would be incredibly valuable. Another area I’d like to learn more about is thermal management. I plan to use fan-based cooling, but I’m open to hearing what worked best for others in similar setups. Have you had better results with passive heatsinks, or is active cooling a must for sustained uptime? In terms of data reliability, I’m aware that SD cards are often the weak link in Raspberry Pi setups. Some people suggest switching to SSDs via USB, while others go the UPS route to avoid sudden shutdowns. If you’ve taken precautions against file system corruption or data loss, I’d love to know what you’ve tried and how well it worked.
I’m also wondering how others approach long-term uptime and reliability for home-hosted systems. Do you use automated rebooting, watchdog timers, or certain systemd tricks to ensure services stay up? What kind of system monitoring or logging do you find sufficient? I’ve been considering setting up something like Prometheus with Grafana dashboards, but I’m not sure if that’s overkill for a modest home setup like mine. Lastly, I’m curious how others handle internal networking. Have you implemented VLANs, QoS rules, or traffic shaping to segment or prioritize traffic between devices? With multiple Pis running different services, I want to make sure nothing steps on anything else’s toes, especially once more users or external access points are added. If you've built or maintained a similar setup, I’d love to hear what worked for you, what didn’t, and any general lessons you learned along the way. Also, if there are any good communities, forums, Discord servers, or other spaces where people discuss home lab setups or self-hosting, I’d love to join and follow along. Thanks in advance to anyone willing to share their experience. I really appreciate it!
