D-side (talk | contribs)
Worded advantages into a more consistent structure and added one more
Venture18+ (talk | contribs)
References: added archive URL
 
(22 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Incomplete}}
'''Self-hosting''' is the practice of implementing digital services with server applications under one's own control. This is opposed to relying on large public services or [[Cloud (service)|cloud services]], compared to which it provides significantly more control over how the services are provided at the cost of responsibility for setting them up and keeping them operational over time.<ref name=":0">{{Cite web |title=About self-hosting |url=https://doc.yunohost.org/en/admin/about_self_hosting/ |url-status=live |archive-url=https://web.archive.org/web/20251217054550/https://doc.yunohost.org/en/admin/about_self_hosting/ |archive-date=2025-12-17 |access-date=2026-02-25 |website=Yunohost}}</ref>
'''Self-hosting''' is the practice of implementing digital services with server applications under one's own control. This is opposed to relying on large public services or [[Cloud (service)|cloud services]].


Self-hosting is typically done for several reasons, including to enable users to have more control over the services they use, or to allow the user to have more control over their privacy<ref>{{Cite web |last=Kehayias |first=John |date=2021-09-02 |title=Meet the Self-Hosters, Taking Back the Internet One Server at a Time |url=https://www.vice.com/en/article/meet-the-self-hosters-taking-back-the-internet-one-server-at-a-time/ |url-status=live |archive-url= |archive-date= |access-date=2025-08-12 |website=VICE}}</ref>. As self-hosting gives the user more control over their data, it is often used by people to avoid companies from using their data in ways the user does not want or consent to.
It is typically taken up as a hobby, but enthusiasts report practical benefits as reasons to do this too, such as lower costs, less privacy concerns and greater flexibility.<ref name=":1">{{Cite web |last=Sholly |first=Ethan |date=2025-11-21 |title=2025 Self-Host User Survey Results |url=https://selfh.st/survey/2025-results/ |url-status=live |archive-url=https://web.archive.org/web/20251121125437/https://selfh.st/survey/2025-results/ |archive-date=21 Nov 2025 |website=selfh.st}}</ref> Some enjoy the feeling of independence and a sense of autonomy it brings, for some it's an alternative to digital services offered on worse terms than self-hosting can provide, and sometimes it's a viable alternative when commercial service providers make sudden significant changes detrimental to their users.<ref>{{Cite web |last=Kehayias |first=John |date=2021-09-02 |title=Meet the Self-Hosters, Taking Back the Internet One Server at a Time |url=https://www.vice.com/en/article/meet-the-self-hosters-taking-back-the-internet-one-server-at-a-time/ |url-status=live |archive-url=https://web.archive.org/web/20240816174958/https://www.vice.com/en/article/meet-the-self-hosters-taking-back-the-internet-one-server-at-a-time/ |archive-date=16 Aug 2024 |access-date=2025-08-12 |website=VICE}}</ref>
 
The term "server" has several popular definitions in computing. Throughout this article it will refer to "a computer program that controls or supplies information to several computers connected in a network"<ref>{{Cite web |title=server (noun) |url=https://www.oxfordlearnersdictionaries.com/definition/english/server |access-date=2025-10-12 |website=Oxford Learner's Dictionaries}}</ref> and not comparably common "hosts that have software installed that enable them to provide information, like email or web pages, to other hosts on the network"<ref>{{Cite web |title=1.1.2.2 Clients and Servers |url=http://cisco.num.edu.mn/CCNA_R&S1/course/module1/1.1.2.2/1.1.2.2.html |url-status=dead |archive-url=https://web.archive.org/web/20240407111300/http://cisco.num.edu.mn/CCNA_R&S1/course/module1/1.1.2.2/1.1.2.2.html |archive-date=2024-04-07 |website=Cisco Networking Academy}}</ref>.


==Origin of the practice==
==Origin of the practice==
Self-hosting typically refers to usage of digital services '''hosted''' by a person for just themselves (hence the '''self-''' prefix), but they're often made available also to a circle of family and friends, especially services that feature collaboration. Before self-hosting rose to prominence similar installations were typically limited to organizations and housed internal tools, such as company chats and internal knowledge bases.{{Citation needed}} This is still common in organizations, only partially supplanted by [[Software as a service|software-as-a-service (SaaS)]].
Self-hosting typically refers to usage of digital services '''hosted''' by a person for just themselves (hence the '''self-''' prefix), but they're often made available also to a circle of family and friends, especially services that feature collaboration. Before self-hosting rose to prominence similar installations were typically limited to organizations and housed internal tools, such as company chats and internal knowledge bases.{{Citation needed}} This is still common in organizations, only partially supplanted by [[Software as a service|software-as-a-service (SaaS)]].


Today, there are numerous free and open-source server applications available to everyone with an internet connection<ref>{{Cite web |title=Free software |url=https://awesome-selfhosted.net/ |website=Awesome-Selfhosted}}</ref>. Companies commonly employ dedicated system administrators to run such applications, due to some specialized knowledge required to set them up. But over the years the amount of knowledge required for this has been reducing, which has allowed more people to install such server applications by themselves.{{Citation needed}}
Today, there are numerous free and open-source server applications available to everyone with an internet connection<ref>{{Cite web |title=Free software |url=https://awesome-selfhosted.net/ |archive-url=https://web.archive.org/web/20260213070029/https://awesome-selfhosted.net/ |archive-date=13 Feb 2026 |website=Awesome-Selfhosted}}</ref>. Companies commonly employ dedicated system administrators to run such applications, due to some specialized knowledge required to set them up. But over the years the amount of knowledge required for this has been reducing, which has allowed more people to install such server applications by themselves.{{Citation needed}}


Because both organizations and self-hosters largely use the same methods and software, most of the same risks and mistakes that companies have to deal with are present in some form in self-hosting as well. What can be configured poorly in a self-hosted setup can be configured poorly in professional installations as well.
Because both organizations and self-hosters largely use the same methods and software, most of the same risks and mistakes that companies have to deal with are present in some form in self-hosting as well. What can be configured poorly in a self-hosted setup can be configured poorly in professional installations as well.
Line 25: Line 22:


===Digital services for "connected" products===
===Digital services for "connected" products===
Various products in addition to (or instead of) autonomous functioning are increasingly relying on a service elsewhere for some of their features, often marketed as "smart" or "connected". For consumer products the way manufacturers commonly arrange this is through deployment of their own server for the product on their own infrastructure.
Various products in addition to (or instead of) autonomous functioning are increasingly relying on a service elsewhere for some of their features, often marketed as "smart" or "connected".


Most of the time, product manufacturers do not provide controls for users that would allow them to use their own servers. In such cases manufacturers' infrastructure becomes integral to the product and often gives manufacturer complete access to the product post-purchase through software updates, allowing for a number of anti-consumer actions such as [[retroactively amended purchase]] (manufacturer changing the way the product functions) and [[discontinuation bricking]] (manufacturer shutting down their server, reducing functionality of the product or rendering it entirely inoperable). Self-hosting a server for the product makes these practices impossible; however, most of the time it's not officially supported.
Most of the time, product manufacturers do not allow users to specify their own servers for these services. In such cases manufacturers' infrastructure becomes integral to the product and often gives manufacturer complete access to the product post-purchase through software updates, allowing for a number of anti-consumer actions such as [[retroactively amended purchase]] (manufacturer changing the way the product functions) and [[discontinuation bricking]] (manufacturer shutting down their server, reducing functionality of the product or rendering it entirely inoperable). When using a self-hosted server these such actions can be prevented by cutting access to manufacturer's servers while preserving product functionality; however, most of the time it's not officially supported.


This isn't limited to just physical products, it affects software as well. For instance, [[games as a service]] typically require a server to fully function, and server software for such games is not made available to users, making self-hosting for such games impossible and requiring manufacturer's active involvement in order to maintain full game functionality. There are, however, many multiplayer games, especially older ones, that do support self-hosting of servers through dedicated server software<ref>{{Cite web |title=Dedicated Servers List |url=https://developer.valvesoftware.com/wiki/Dedicated_Servers_List |access-date=2025-10-12 |website=Valve Developer Community}}</ref>, proving that the technology for this already exists.
This isn't limited to just physical products, it affects software as well. For instance, [[games as a service]] typically require a server to fully function, and server software for such games is not made available to users, making self-hosting for such games impossible and requiring manufacturer's active involvement in order to maintain full game functionality. There are, however, many multiplayer games, especially older ones, that do support self-hosting of servers through dedicated server software<ref>{{Cite web |title=Dedicated Servers List |url=https://developer.valvesoftware.com/wiki/Dedicated_Servers_List |archive-url=https://web.archive.org/web/20260116200846/https://developer.valvesoftware.com/wiki/Dedicated_Servers_List |archive-date=16 Jan 2026 |access-date=2025-10-12 |website=Valve Developer Community}}</ref>.


==Typical arrangements==
==Typical arrangements==
Line 36: Line 33:
A lot of server software is capable of running on "normal" (consumer-grade) computers as well. So it is common to start self-hosting by installing server software on an unused computer that can be run continuously or whenever access to its services may be needed.
A lot of server software is capable of running on "normal" (consumer-grade) computers as well. So it is common to start self-hosting by installing server software on an unused computer that can be run continuously or whenever access to its services may be needed.


Because private servers are typically used by only a few users in practice, hardware requirements for some of the most popular services can be meager<ref>{{Cite web |title=System Requirements |url=https://docs.nextcloud.com/server/stable/admin_manual/installation/system_requirements.html |access-date=2025-10-12 |website=Nextcloud Administration Manual}}</ref><ref>{{Cite web |title=FAQ - Docker Mailserver |url=https://docker-mailserver.github.io/docker-mailserver/latest/faq/#what-are-the-system-requirements |access-date=2025-10-12 |website=Docker-mailserver}}</ref> and can be satisfied by very old computers, which can be seen as a step towards [[circular economy]].
Because most self-hosted servers are typically used by only a few users in practice<ref name=":1" />, hardware requirements for some of the most popular services can be meager<ref name=":0" /><ref>{{Cite web |title=System Requirements |url=https://docs.nextcloud.com/server/stable/admin_manual/installation/system_requirements.html |archive-url=https://web.archive.org/web/20251115134906/https://docs.nextcloud.com/server/stable/admin_manual/installation/system_requirements.html |archive-date=15 Nov 2025 |access-date=2025-10-12 |website=Nextcloud Administration Manual}}</ref><ref>{{Cite web |title=FAQ - Docker Mailserver |url=https://docker-mailserver.github.io/docker-mailserver/latest/faq/#what-are-the-system-requirements |archive-url=https://web.archive.org/web/20251014171111/https://docker-mailserver.github.io/docker-mailserver/latest/faq/#what-are-the-system-requirements |archive-date=14 Oct 2025 |access-date=2025-10-12 |website=Docker-mailserver}}</ref> and can be satisfied by very old or cheap computers, which can be seen as a step towards [[circular economy]].
 
Software-wise, depending on requirements and the level of technical expertise, one might opt for a generic server OS such as [https://www.debian.org/ Debian], [https://ubuntu.com/server Ubuntu Server], and [https://www.freebsd.org/ FreeBSD] for a more do-it-yourself experience, or an OS purpose-built for self-hosting such as [https://yunohost.org/ YunoHost] or [https://umbrel.com/ UmbrelOS] which guides its users through some of the complexities of the process. In some more niche circumstances, [https://www.openbsd.org/ OpenBSD] might be preferred to other options as a server operating system due to its focus on security and simplicity.
 
===Network-attached storage (NAS)===
Companies such as [[Synology]], [[QNap|QNAP]], [[UGreen|UGREEN]] and others offer commercial hardware products called NAS (Network Attached Storage) that expose disks to a network for shared access to files on them<ref>{{Cite web |last=Susnjara |first=Stephanie |last2=Smalley |first2=Ian |title=What is network attached storage (NAS)? |url=https://www.ibm.com/think/topics/network-attached-storage |url-status=live |archive-url=http://web.archive.org/web/20251114021534/https://www.ibm.com/think/topics/network-attached-storage |archive-date=14 Nov 2025|access-date=2025-11-22 |website=IBM |series=Think}}</ref> in form of a "network drive", "file share" or "shared folder". As an additional function, many such devices can also run server software, and may even offer user-friendly graphical interfaces for this out-of-the-box.


Software-wise, depending on requirements and the level of technical expertise, one might opt for a generic server OS such as [https://www.debian.org/ Debian] or [https://ubuntu.com/server Ubuntu Server] for a more do-it-yourself experience, or an OS purpose-built for self-hosting such as [https://yunohost.org/ YunoHost] which guides its users through some of the complexities of the process.
Such devices are typically optimized for file management, and applications using the files stored by a NAS are expected to run on ''other'' devices on the same network (e. g. a PC running heavy video editing software utilizing video files stored on a NAS). As such, NAS devices, especially budget ones, often do not have much capacity for server applications. For a small number of users, however, as is common in self-hosting, they can be sufficient.
 
A consumer NAS is typically more expensive than self-built solutions or second hand server-grade hardware, but due to better power management, the higher costs can be worth it in regions with high electricity prices.


===Server hosting provider===
===Server hosting provider===
Line 45: Line 49:
Control over not just the ''service'' but also the ''platform'' it runs on (the computer) provides the user with significantly more control over data that it processes compared to just using a service hosted by another party.
Control over not just the ''service'' but also the ''platform'' it runs on (the computer) provides the user with significantly more control over data that it processes compared to just using a service hosted by another party.


===Specialized hardware===
===Specialized server hardware===
An expensive high-end option that most closely resembles professional setups, with all the perks and downsides of professional setups: professional server hardware is designed to be more reliable and easily serviceable, but also can be very noisy, which may not matter much inside a proper server room or a data center, but for an apartment might be completely unacceptable.
An expensive high-end option that most closely resembles professional setups, with all the perks and downsides of professional setups: professional server hardware is designed to be more reliable and easily serviceable, but also can be very noisy, which may not matter much inside a proper server room or a data center, but for an apartment might be completely unacceptable.


These are commonly set up for services with high hardware requirements or maintained as a hobby by those who'd like to practice business-grade system administration at home. For the vast majority of services this is unnecessary and is sometimes mocked as such<ref>{{Cite web |title=You are all a bunch of sick freaks : selfhosted |url=http://old.reddit.com/r/selfhosted/comments/1igr2l7/you_are_all_a_bunch_of_sick_freaks/ |archive-url=https://selfh.st/sick-freaks/ |archive-date=2025-02-03 |website=Reddit}}</ref>.
These are commonly set up for services with high hardware requirements or maintained as a hobby by those who'd like to practice business-grade system administration at home. For the vast majority of services this is unnecessary and is sometimes mocked as such.<ref>{{Cite web |title=You are all a bunch of sick freaks : selfhosted |url=https://old.reddit.com/r/selfhosted/comments/1igr2l7/you_are_all_a_bunch_of_sick_freaks/ |archive-url=https://selfh.st/sick-freaks/ |archive-date=2025-02-03 |website=Reddit}}</ref>


==Self-hosted applications relevant to consumer rights==
==Self-hosted applications relevant to consumer rights==
{{Incomplete section}}
{{Incomplete section}}


===Home Assistant===
===[https://www.home-assistant.io/ Home Assistant]===
One of the most prominent free & open source projects in self-hosted home automation space.
One of the most prominent free & open source projects in self-hosted home automation space.


Because it provides an unofficial self-hosted interface to and between "connected" products of many brands, it prominently announces anti-consumer actions by supported brands aimed at reducing or disabling that capability, bringing them to attention. Some vendors reconsider their plans afterwards, providing alternative solutions or entirely cancelling their plans for such changes, which Home Assistant reflects in their announcement posts as well.<ref>{{Cite web |date=2018-12-17 |title=Logitech Harmony removes local API |url=https://www.home-assistant.io/blog/2018/12/17/logitech-harmony-removes-local-api/ |access-date= |website=Home Assistant}}</ref><ref>{{Cite web |date=2020-11-23 |title=TP-Link offers way to add local API back |url=https://www.home-assistant.io/blog/2020/11/23/tplink-local-access/ |website=Home Assistant}}</ref><ref>{{Cite web |date=2023-10-13 |title=Removal of Mazda Connected Services integration |url=https://www.home-assistant.io/blog/2023/10/13/removal-of-mazda-connected-services-integration/ |access-date= |website=Home Assistant}}</ref>
Because it provides an unofficial self-hosted interface to and between "connected" products of many brands, it prominently announces anti-consumer actions by supported brands aimed at reducing or disabling that capability, bringing them to attention. Some vendors reconsider their plans afterwards, providing alternative solutions or entirely cancelling their plans for such changes, which Home Assistant reflects in their announcement posts as well.<ref>{{Cite web |date=2018-12-17 |title=Logitech Harmony removes local API |url=https://www.home-assistant.io/blog/2018/12/17/logitech-harmony-removes-local-api/ |archive-url=https://web.archive.org/web/20190915093907/https://www.home-assistant.io/blog/2018/12/17/logitech-harmony-removes-local-api/ |archive-date=15 Sep 2019 |access-date= |website=Home Assistant}}</ref><ref>{{Cite web |date=2020-11-23 |title=TP-Link offers way to add local API back |url=https://www.home-assistant.io/blog/2020/11/23/tplink-local-access/ |archive-url=https://web.archive.org/web/20201124190144/https://www.home-assistant.io/blog/2020/11/23/tplink-local-access/ |archive-date=24 Nov 2020 |website=Home Assistant}}</ref><ref>{{Cite web |date=2023-10-13 |title=Removal of Mazda Connected Services integration |url=https://www.home-assistant.io/blog/2023/10/13/removal-of-mazda-connected-services-integration/ |archive-url=https://web.archive.org/web/20231013215225/https://www.home-assistant.io/blog/2023/10/13/removal-of-mazda-connected-services-integration/ |archive-date=13 Oct 2023 |access-date= |website=Home Assistant}}</ref>
 
Counters consumer rights issues such as [[discontinuation bricking]], [[retroactive policy enforcement]] and [[post-purchase EULA modification]], mostly in regards to "connected" devices and smart homes.
 
===[https://nextcloud.com/ Nextcloud]===
Provides remote file storage and sharing as a core function and numerous other functions available for easy installation: synchronization of contacts and calendars, a full-fledged browser-based editor for contacts and calendars, collaborative document editing, chat, video conferencing and more. Many of these are functions commonly seen as available only from large commercial providers, and Nextcloud serves as an example that disproves this notion.
 
In addition to offering a comprehensive interface for the browser and a suite of first-party mobile apps, some third-party applications allow the use of Nextcloud for storing user data. Some such applications are:
 
*[https://www.davx5.com/ DAVx⁵], a synchronization app for calendars, contacts and tasks on Android over the standard DAV protocols that Nextcloud implements
*[https://www.onlyoffice.com/ OnlyOffice], an in-browser document editor within Nextcloud's interface and a desktop editor that connects to a Nextcloud account, both allowing access to files in Nextcloud and collaborative editing with other users
*[https://floccus.org/ Floccus], a synchronization service for browser bookmarks and tabs, available across many browsers and as a mobile app, and synchronizing with a server chosen by the user, Nextcloud being only one of several supported options
*[https://github.com/scubajeff/lespas Les Pas], a photo album Android app, automating photo uploads and browsing both local and remote photo albums
*Apps that rely entirely on files for storage and can access Nextcloud through the operating system's interfaces and a Nextcloud client
 
In numerous alternatives, particularly among mobile apps, similar functions are only provided by the app's developer or affiliated parties, and often for a fee, with no alternatives,{{Citation needed|reason=needs examples}} resulting in a [[vendor lock-in]].
 
===Network-wide ad blockers===
{{Main|Ad block}}
Software suites that block access to advertising platforms to devices on the local network.
 
While limited in what kinds of ads they are capable of blocking, they work where installing a more advanced ad blocker is more difficult or impossible, such as on devices with heavily locked down software or within individual applications.
 
Examples: [https://pi-hole.net/ PiHole], [https://adguard.com/en/adguard-home/overview.html AdGuard Home].
 
===Other useful tools===
 
*[https://www.truenas.com/ TrueNAS], [https://www.openmediavault.org/ OpenMediaVault], [https://unraid.net/ Unraid]: Stores files on a server and makes them available to multiple devices
*[https://casaos.io/ CasaOS], [https://umbrel.com/umbrelos Umbrel], [https://yunohost.org/ YunoHost]: Systems that aim to make it easy for non-technical users to run their own server and install services on it using a familiar app store paradigm
*[https://www.proxmox.com/ Proxmox VE]: Allows users to host multiple services isolated from each other on one server
*[https://mailcow.email/ Mailcow], [https://mailu.io/2024.06/# Mailu], [https://modoboa.org/en/ Modoboa]: Email servers that allow users to send and receive emails without the data collection of free mail services or the price of paid mail services
*[https://jitsi.org/jitsi-meet/ Jitsi Meet], [https://bigbluebutton.org/ BigBlueButton]: Video conferencing without relying on third party servers
*[https://matrix.org/ Matrix], [https://xmpp.org/ XMPP]: Federated messaging platforms
*[https://jellyfin.org/ Jellyfin]: Allows for media hosting with various clients for different devices to access the server


==Further reading==
==Further reading==
Line 63: Line 100:
*[[Local Area Network]]
*[[Local Area Network]]
*[[Right to own]]
*[[Right to own]]
*[[Software as a service]]


==References==
==References==
{{Reflist}}
{{Reflist}}
[[Category:Common terms]]
[[Category:Common terms]]