What is self-hosting? Costs, time and who it suits
This page contains affiliate links. If you buy through them, this site may earn a commission at no extra cost to you. How affiliate links work here.
Self-hosting means running software on infrastructure you control, instead of using someone else’s service. That infrastructure is either hardware in your home or a server you rent, and you, not a vendor, decide what runs, where the data lives and when things change. The price of that control is responsibility: updates, backups and security become your job.
If you want the short advice, start with one private service on hardware you already own, put backups in place first, and move to a rented server only when you need something reachable from anywhere.
At a glance
| Question | Short answer |
|---|---|
| What is it? | Running apps such as file sync, Git or chat on a machine you control |
| Where? | A home server, a rented VPS, or a provider that runs open-source software for you |
| Money costs | Hardware or a VPS, a domain, backup storage, electricity |
| Time costs | Setup, updates, backups, monitoring, fixing breakage |
| Best for | People who want control and are willing to maintain what they run |
| Wrong choice when | You need email hosting, hold critical data with no backup discipline, or cannot spare time for updates |
What people self-host
- Social networks. A server in the fediverse lets you run your own account or community on open protocols.
- Chat. Matrix is an open protocol for messaging, and you can run your own homeserver for it.
- Code. Git hosting covers running a forge such as Gitea, Forgejo or GitLab for your repositories.
- Files and sync. Cloud storage software replaces consumer sync services with a server you own.
- Search. Private search engines such as SearXNG run on a small server and keep queries off a vendor’s profile of you.
- Home services. A home server can carry backups, media, DNS filtering and a VPN. Start with what a home server is.
- Websites and apps. The hosting section covers websites, password managers and choosing where to run them.
The tools page collects calculators and checkers, and the projects directory lists the software behind these categories.
Three ways to do it
| Route | What it means | Fits when | Main trade-off |
|---|---|---|---|
| Home server | A computer at home that runs all the time | Private services, backups, media, learning | Your home connection, power and noise limit it |
| VPS | A virtual machine you rent and administer | Public services that must stay reachable | You pay monthly and still handle all maintenance |
| Managed hosting of open-source software | A provider runs the software, you use it | You want the open software without the chores | Less control, and you depend on the provider |
A home server gives you the most hardware control for the least recurring spend, but a public service there depends on your internet provider allowing inbound connections. A VPS removes that problem and adds a bill. Managed hosting hands the maintenance to someone else, which is a legitimate choice rather than a failure. The comparison of VPS, home server and managed hosting works through how to place each service, and the guide to choosing a VPS covers rented servers. One example of a VPS provider is DigitalOcean, which lists its plans on a public pricing page.
What it costs in money
The recurring items are the same on every route: the machine, a domain name if you want one, storage for backups, and electricity if the machine is at home. The figures below are examples taken from official pages, not a budget, and they leave out the domain and the backup storage because prices for those vary widely by provider.
| Item | Example | Figure | Checked |
|---|---|---|---|
| Entry VPS, 512 MiB RAM, 1 vCPU, 10 GiB disk | DigitalOcean Basic Droplet | $4.00 per month | 2026-12-02 |
| Larger VPS, 2 GiB RAM, 1 vCPU, 50 GiB disk | DigitalOcean Basic Droplet | $12.00 per month | 2026-12-02 |
| Home box, assumed 10 W average draw | 87.6 kWh per year at 18.17 cents/kWh | $15.92 per year | 2026-12-02 |
| Home box, assumed 35 W average draw | 306.6 kWh per year at 18.17 cents/kWh | $55.71 per year | 2026-12-02 |
The electricity rate is the U.S. average residential price for September 2026 from the EIA Electric Power Monthly, which marks 2026 values as preliminary. The wattages are assumptions for illustration, not measurements, so measure your own machine with a plug-in power meter. Home hardware is a one-time cost and is not in the table. Put your own numbers into the self-hosting cost calculator to compare routes, and the home server power cost tool handles the electricity side.
What it costs in time
Time is the cost people underestimate. The tasks are predictable, even if the hours are not:
- Setup. Installing the system, the software and a certificate, and learning how the pieces fit.
- Updates. Operating system updates, plus every application and container you add. Some software has strict upgrade paths. Nextcloud’s documentation, for example, says you cannot skip major releases and should make a fresh backup before every upgrade.
- Backups. Creating them is one task and proving they restore is another.
- Monitoring. Noticing that a disk is filling or a service has stopped before a user tells you.
- Breakage. Fixing what fails, usually at an inconvenient moment.
As a rough assumption, not a measured figure, expect the first setup to take an evening or more, and ongoing care to take a short, regular slot every week or month, with occasional bigger jobs. The amount grows with each service you add and with how many other people depend on it.
What you are responsible for
When you host it yourself, nobody else does these things:
- TLS. Anything that faces the internet needs HTTPS. Let’s Encrypt describes itself as a free, automated, and open certificate authority, and you obtain certificates through an ACME client such as Certbot, unless your hosting provider handles it for you.
- Updates. Ubuntu’s documentation says unattended-upgrades is installed by default, applies security updates automatically once per day, and does not reboot automatically or apply non-security updates. That covers the base system only, so you also update the applications on top of it.
- Backups. Keep a copy somewhere other than the machine, ideally off site, and test a restore. Mirrored drives protect against a drive failure, not against deletion or theft.
- Admin panels. Keep dashboards, container managers and database tools off the open internet. Reach them over a VPN, an SSH tunnel, an IP allowlist, or bind them to localhost.
- Security incidents. Decide in advance what you will do if a service is compromised: isolate the machine, rotate credentials and restore from a clean backup.
- Legal and moderation duties. A service that other people can use, such as a fediverse server or a file-sharing site, can make you responsible for abuse reports, illegal content and local rules. A private service for your household carries far less of this.
Who self-hosting suits
It suits you if you want to understand and control the systems you rely on, you are happy to learn as you go, and you can accept that things sometimes break. It suits people who start small, treat the first service as practice, and add more only after the basics run reliably.
Who it does not suit
Say no, or choose managed hosting, in these cases:
- Email hosting. Delivering mail reliably depends on sender reputation and careful configuration, and a mistake means lost or rejected messages. Use a reputable mail provider unless you are certain you want the work.
- Critical data without backup discipline. If the only copy of your photos, documents or password vault lives on a machine you rarely check, you have made your data less safe, not more.
- No time for updates. An unpatched server on the internet is a liability. If you cannot reserve time for maintenance, someone else should run it.
- Needing guaranteed uptime. A hobby setup has no service-level promise.
Many people self-host a few things and keep email with a provider.
How to start
- Choose one service you will really use, and keep it private at first.
- Pick the route: spare hardware at home, or a small rented server if it must be public.
- Install a mainstream Linux distribution and turn on automatic security updates.
- Set up backups, including an off-site copy, before you store anything irreplaceable.
- Add HTTPS and a VPN before you open anything to the internet.
- Run the cost calculator, then browse the hosting hub for your next step.
Frequently asked questions
- Is self-hosting cheaper than using a hosted service?
- Not automatically. You pay for hardware or a VPS, a domain, backup storage and electricity, and you spend your own time. It can be cheaper when you replace several subscriptions with one machine, and it can cost more when you value your time. The cost calculator lets you test your own numbers.
- Do I need a home server to self-host?
- No. You can rent a virtual private server, or pay a provider to run open-source software for you. A home server is only one of three common routes.
- Is self-hosting more private?
- It can be, because your data sits on infrastructure you control rather than with a third party. That only holds if you also secure, update and back up the machine. A neglected server can be less safe than a well-run hosted service.
- Should I self-host my email?
- Usually not. Mail delivery depends on sender reputation and strict configuration, and a failure means lost or rejected messages. Most people are better served by a reputable mail provider.
- What is the safest first project?
- Pick one service that only you or your household use, keep it off the public internet, and set up backups before you store anything important. A private file share or DNS ad blocker fits that description.