keepcalculator

06 Numbers and Powers

Self-Host These 7 Services Before a Media Server

Card No. 06·87228 · Updated · Standard formula, shown below

If you are new to self-hosting, a media server like Plex or Jellyfin is often the first thing people try, but it is not the most useful or educational starting point. Before you set up a media server, you should self-host a password manager, an ad blocker, a cloud storage sync, a home dashboard, a backup tool, a monitoring system, and a note-taking app. These seven services give you more daily value, teach you core networking and security concepts, and are far less demanding on your hardware than transcoding video.

Why Start With These Services Instead of a Media Server

A media server is a heavy, media-centric project. It needs large storage, CPU power for transcoding, and a good network setup for streaming. In contrast, the seven services above are lightweight, run on a Raspberry Pi or an old laptop, and solve problems you likely have right now: remembering passwords, blocking ads on every device, backing up your phone photos, and keeping notes in sync. They also force you to learn the fundamentals of self-hosting—DNS, reverse proxies, containers, permissions, and backups—without the complexity of video codecs and metadata scraping.

How Each Service Works and What It Does

  • Password manager (Vaultwarden, Bitwarden): Stores your login credentials in an encrypted vault, syncs across devices, and generates strong passwords. You self-host the server, and clients (browser extension, mobile app) talk to it over HTTPS.
  • Ad blocker (Pi-hole, AdGuard Home): Acts as a DNS sinkhole. It intercepts DNS queries from devices on your network and blocks known ad and tracker domains before they load. You point your router’s DNS to it, and every device on the LAN gets filtered.
  • Cloud storage sync (Nextcloud, Syncthing): Nextcloud is a full file sync and share platform with calendar, contacts, and office apps. Syncthing is a peer-to-peer file sync tool that keeps folders in sync between devices without a central server.
  • Home dashboard (Home Assistant, Organizr): Home Assistant is a home automation hub that integrates with smart devices. Organizr is a simple web-based dashboard that links to all your self-hosted apps in one place.
  • Backup tool (BorgBackup, restic): Creates deduplicated, encrypted snapshots of your files and sends them to a local disk or remote server. You schedule it with cron or systemd timers.
  • Monitoring (Uptime Kuma, Grafana + Prometheus): Uptime Kuma checks if your websites or services are up and sends alerts. Grafana visualizes metrics like CPU, RAM, and network traffic over time.
  • Note-taking (Joplin, Trilium): Joplin stores notes as Markdown files and syncs them via WebDAV or Nextcloud. Trilium is a hierarchical note app with a web interface.

How to Choose Your First Service

Pick the one that solves the most annoying problem you have right now. If you forget passwords constantly, start with a password manager. If ads are driving you crazy on your phone, set up Pi-hole. If you are tired of paying for cloud storage, try Nextcloud. The best first project is one you will actually use daily, because that motivation will carry you through the inevitable configuration hiccups.

Also consider your hardware. A Raspberry Pi 4 (2GB+ RAM) can run Pi-hole, Vaultwarden, and Uptime Kuma simultaneously without breaking a sweat. Nextcloud is heavier—it benefits from a real SSD and at least 2GB of RAM. A media server, by contrast, wants a CPU with Quick Sync or a dedicated GPU for transcoding, plus several terabytes of storage. If you only have an old laptop, that is fine for all seven services, but a media server might struggle with 4K video.

Common Problems and How to Avoid Them

The most common self-hosting mistakes are network-related. First, do not expose your services to the internet until you have a reverse proxy with HTTPS and a firewall. Use a VPN (WireGuard or Tailscale) for remote access instead of port-forwarding. Second, never run a service as root; create a dedicated user for each app. Third, always set up backups before you start relying on a service—losing your password vault is catastrophic.

Another frequent issue is DNS caching. After setting up Pi-hole, devices that already cached DNS entries may still show ads until you flush the cache or reboot. Similarly, if you change your router’s DNS to point to Pi-hole, make sure the router itself does not use its own DNS for the admin interface.

For Nextcloud, the classic pitfall is running it on a 32-bit OS or a slow SD card—performance will be terrible. Use a 64-bit OS and an SSD. Also, Nextcloud’s default PHP memory limit is often too low; increase memory_limit in php.ini to 512M or more.

Comparison: Media Server vs. The Seven Services

Media servers are not bad—they are just not the best first project. Here is a side-by-side look:

  • Resource usage: Media servers need CPU for transcoding and lots of storage. The seven services run on a Raspberry Pi with 1GB RAM.
  • Learning value: The seven services teach you DNS, encryption, containers, and backup strategies. A media server teaches you file permissions and codec settings.
  • Daily usefulness: Password manager and ad blocker affect every device you use. A media server only matters when you want to watch a specific movie.
  • Maintenance: Media servers require metadata updates, library scans, and occasional transcoding tweaks. The seven services mostly run silently once set up.
  • Security risk: Exposing a media server to the internet is riskier because it processes untrusted media files. A password manager is also sensitive, but you can keep it behind a VPN.

That said, once you have a few of the seven running, a media server becomes a natural next step. You will already know how to set up a reverse proxy, manage containers, and back up your data—all skills you need for Plex or Jellyfin.

Costs and Hardware Requirements

You can self-host all seven services on hardware you already own. A Raspberry Pi 4 (8GB) costs around $75 for the board, plus a case, power supply, and SD card—total maybe $120. An old laptop or desktop you have lying around costs nothing. You do not need a domain name or a static IP for local use; a free DuckDNS subdomain works if you want remote access. For backups, an external USB drive is sufficient. The only recurring cost is electricity—a Pi draws about 5W, which is negligible. In contrast, a media server with multiple hard drives can draw 20-40W or more.

Security and Safety Considerations

Before you start, understand that self-hosting puts you in charge of your own security. Follow these practices from day one:

  • Use strong, unique passwords for every service and enable two-factor authentication where possible.
  • Keep your OS and software updated. Set up unattended upgrades for the OS.
  • Run each service in a container (Docker or Podman) with a non-root user.
  • Never expose SSH or admin panels directly to the internet; use a VPN.
  • Encrypt your backups. Borg and restic support encryption out of the box.
  • Regularly test your backups by restoring a file from them.

For Pi-hole, note that it only blocks DNS-based ads; some ads come from the same domain as the content (e.g., YouTube ads), so they will not be blocked. Also, if you travel, you need to configure a VPN back to your home network to use Pi-hole on your phone.

Alternatives to Self-Hosting

If you are not ready to maintain your own server, you can achieve similar benefits with hosted services: Bitwarden (free tier), Nextcloud (paid hosting), or a commercial DNS filter like NextDNS. These require no hardware and little maintenance, but you give up control and privacy. Self-hosting is about learning and owning your data—if that is not a priority, hosted services are perfectly fine.

Frequently Asked Questions

Do I need a static IP for self-hosting?

No. For local use, you do not need a static IP. For remote access, use a dynamic DNS service like DuckDNS or a VPN like Tailscale that handles IP changes automatically.

Can I run these services on a Raspberry Pi Zero?

You can run Pi-hole and Uptime Kuma on a Pi Zero, but Vaultwarden and Nextcloud will be very slow. A Pi 4 or better is recommended for anything beyond DNS filtering.

Will self-hosting a password manager be as secure as a commercial one?

It can be, but only if you secure the server properly. Commercial services have dedicated security teams. If you are not confident in your ability to harden a server, stick with a hosted password manager.

How do I access my self-hosted services from outside my home?

The safest way is to install a VPN server (WireGuard or Tailscale) on your home network and connect to that VPN when away. Port-forwarding individual services is riskier and should only be done with a reverse proxy and HTTPS.

What is the easiest service to start with?

Pi-hole is the easiest because it requires no accounts, no data to manage, and runs on almost any hardware. You just set it up and point your router to it.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →