Self-hosting is running the services you use, such as files, mail, photos, chat or a website, on hardware you control rather than renting them as a product. You gain control, privacy and learning; in exchange you become the administrator, responsible for security, updates, backups and uptime.
Key concepts
- Exposure: every service reachable from the internet is attack surface; expose as little as you can.
- Networking: a stable address or dynamic DNS, port forwarding, a reverse proxy and TLS certificates.
- Isolation: containers or virtual machines keep one broken service from taking down the rest.
- Updates and monitoring: patch on a schedule and know when something stops working.
- Backups: the data you host is yours alone to protect, so test restoring it.
Vocabulary
- Reverse proxy: a front server that routes requests to the right service and terminates TLS.
- Dynamic DNS: keeping a name pointed at an address that changes.
- VPN: an encrypted tunnel, often the safest way to reach services meant only for you.
- Homelab: a personal setup of machines for running and learning.
What to study, in order
- Run one service in a container on a spare computer, reachable only on your local network.
- Learn how DNS, ports and NAT decide what can reach it.
- Add a reverse proxy with a TLS certificate and a real domain name.
- Put administration behind a VPN or SSH keys, and close every port you do not need.
- Schedule backups and restore one to a different machine.
- Set up monitoring and a routine for updates, then add a second service.