What is self-hosting and why I run my own server
Most of the apps you use every day run on someone else’s computer. Your photos, your passwords and your notes all live on servers you will never see. You also have to trust the company behind them. It can leak your data in a breach, sometimes without even encrypting it. It may never delete your personal data, or even worse, sell it to a third party.
Self-hosting means running those services yourself, on a machine you own. And no, you do not need a data center for it. A potato PC will do the job.
In this article, you will learn what self-hosting is, what you get from it, what it costs and what you need to start. It is also the first part of a series. We will build a home server together, from an empty drive to a running lab you can reach from outside.
TL;DR: Self-hosting is running your own services on your own hardware. You keep your data and stop paying for subscriptions, but you become the admin. Any old PC is enough to start. Keep in mind it is addictive, once you host one service you will want to host more.
What is self-hosting
A server is just a computer that stays on. Nothing more is needed to host an app than a machine, an internet connection and the app itself. Most self-hosted apps are open source and ship as Docker containers, so installing one is a short config file and one command.
Here are some of the services I run and what they replace:
| Instead of | You can run | What it does |
|---|---|---|
| Google Photos | Immich | Photo and video cloud |
| A paid password manager | Vaultwarden | Password vault |
| Zapier | n8n | Workflow automation |
| Trello | Kan | Kanban boards |
| Online PDF tools | Stirling PDF | PDF editing |
| Plex | Jellyfin | Media server for your own library |
The full list lives in my personal-lab repository, one Docker Compose file per service.
Why do it
There are a few good reasons, and you do not need all of them:
- Your data stays with you. Your photos and passwords sit on your drive, not in a company’s database.
- No subscriptions. You pay for the hardware once, then only for electricity.
- Nobody changes the deal. A hosted app can raise its price, drop a feature or shut down. Your own copy keeps working.
- You learn a lot. Linux, networking, Docker, backups. Everything you touch here is useful at work too.
For me the main goals were privacy and saving on subscriptions.
What it costs
Self-hosting is not free, it only moves the cost from money to responsibility.
- You are the admin. When something breaks, there is no support team. It is you and the logs.
- Backups are your job. If the drive dies and you have no backup, the data is gone.
- Security is your job too. The moment you open a service to the internet, you have to protect it.
- It takes time. The first setup takes a few evenings, and updates never really end.
Be careful with backups. The first version of my backup script could not even read the Docker volumes. It skipped every target and still logged “Backup Completed Successfully” 26 weeks in a row. A backup is not a backup until you have tested the restore.
That story has its own part later in the series.
What you need
Less than you think:
- A machine. An old PC, a laptop or a mini PC. It does not need to be powerful.
- Storage. I use an SSD for the system and the databases, and an HDD for media and backups.
- A network. A router you control. Ethernet is better, but Wi-Fi works too.
- A domain (optional). Only needed if you want to reach your services from outside.
What we will build
The whole series follows one setup, the same one I run at home:
- Arch Linux as the operating system.
- Docker Compose for every service, one folder per stack.
- A separate drive for data, so deleting a stack never deletes its data.
- Backups that are verified by restore, not by exit code.
- Cloudflare Tunnel for remote access without opening a single port.
- n8n for automation on top of everything.
Keep in mind I use Arch Linux, but the ideas carry over to any Linux distribution. Only the package commands change.
The series goes step by step: installing the system, keeping it online, storage, Docker, the first services, remote access, backups and automation with n8n. You can find every published part under the self-host tag.
Is it for you?
Self-hosting is a good fit if you like to know how things work and you do not mind fixing them. It is a bad fit if you need something that never breaks and you have no time for it. There is no shame in that, a paid service is sometimes the right answer. You also do not have to move everything at once. Start with one service that nobody depends on, and grow from there.
Summary
In this guide, we covered what self-hosting is, what you gain from it, what it costs and what you need to start. In the next part we will install the operating system: How to install Arch Linux for a home server. For reference, you can check my project here.
Have fun!