Quick answer
What is an onion service, and how does it work?
An onion service is a site or server reachable only through the Tor network, at a 56-character address ending in .onion. Six relays join client and service, so neither learns the other's IP address. You can host one on a Gloamport VPS from $3.74 a month on the 12-month term.
How does an onion service differ from an ordinary website?
| Feature | Ordinary website | Onion service |
|---|---|---|
| Address | A domain name resolved by DNS | 56 characters followed by .onion, derived from the service's public key |
| Reachable through | Any browser | Tor only |
| Server IP address | Public, in DNS | Protected: IP addresses are not used in the protocol |
| Encryption | HTTPS if the site sets it up | End-to-end between the Tor user and the service |
| Open inbound port needed | Yes | No: the service only makes outgoing connections |
| Who you are talking to | Checked by an HTTPS certificate | Checked by the address itself, which is the service's public key |
| Relays on the path | Depends on how you connect | 6: 3 chosen by the client, 3 by the service |
Facts from the Tor Project pages listed under Sources, checked 2026-11-10.
What is an onion service?
An onion service is a service, such as a website, that can only be reached over the Tor network. The Tor Project's support pages say it hides the location and IP address of the service, which makes it harder to censor or trace to its operator. Onion services were formerly called hidden services.
The address is the service's identity. The Tor Project describes the onion address as the service's identity public key, which is why it looks random. Version 3 addresses are 56 letters and numbers followed by .onion; the older 16-character version 2 addresses no longer work on the Tor network.
How does a connection to an onion service work?
A client and an onion service never connect directly: they meet at a relay both reach through Tor. The Tor Project describes five steps.
- Introduction points. The service picks several relays, builds long-term three-hop circuits to them and asks them to act as introduction points.
- Descriptor. The service writes a descriptor that lists its introduction points and keys, signs it with the private key behind its address and uploads it to a distributed hash table inside the Tor network.
- Lookup. The client fetches the descriptor by address and checks the signature against the public key that is the address.
- Rendezvous. The client builds a circuit to a relay of its choice, the rendezvous point, and gives it a one-time secret. It sends its details to the service through an introduction point.
- Meeting. The service connects to the rendezvous point over its own circuit and presents the secret. The rendezvous point relays end-to-end encrypted traffic between the two.
The full connection consists of six relays: three chosen by the client, ending at the rendezvous point, and three chosen by the service. The Tor Project states that the service's IP address is protected and that IP addresses are not even used in the protocol.
Why is an onion address enough without HTTPS?
An onion address is enough because the address is itself a cryptographic check. The Tor Project's support page says all traffic between Tor users and onion services is end-to-end encrypted, and that the address uses cryptography to confirm that you reached the intended service and that nothing was altered on the way. Some onion sites still use HTTPS, which Tor Browser shows in the address bar.
Because the service only makes outgoing connections, it also needs no open port on its host: it punches through NAT. A server behind a firewall that blocks inbound connections can still publish an onion service.
How many VPS hosts publish an onion address?
Few hosts do. According to Gloamport's survey of 10 November 2026, 10 of the 42 active hosts publish an official .onion address for their own site: Njalla, FlokiNET, Privex, PrivateAlps, Servury, Servers.Guru, MyNymBox, NiceVPS, Kyun and DarkVPS. The survey counts only addresses the host publishes itself.
A host's onion address protects the connection to the host's website and billing pages. It is a separate question from whether you can run an onion service of your own on one of its servers, which is what the next section covers. For the other criteria that make a host fit a privacy need, read What makes a VPS privacy-focused?.
How do you run an onion service on a VPS?
You install Tor on the server and add two lines to its configuration. The Tor Project's setup page gives them for a web server on port 80:
HiddenServiceDir /var/lib/tor/my-website/
HiddenServicePort 80 127.0.0.1:80Tor creates the directory when it starts, and your address is the hostname file inside it. The other files in that directory are the service's keys. Keep them private: anyone who gets them could impersonate your service. Anyone who learns the address can connect unless you set up v3 client authorization, in which the service holds an x25519 public key and each client connects with the matching private key.
A VPS suits this because it stays online and you control the web server. Full KVM virtualization: your own kernel, your own firewall rules and your own disk encryption if you set it up. Ember (1 vCPU, 1 GB RAM, 20 GB NVMe, 1 TB traffic) is $3.74 a month on the 12-month term. The step-by-step version, with the web server, is How do I host an onion site on a VPS?. To reach your own server's SSH port through Tor, read How do I SSH into my VPS over Tor?.
What does an onion service not protect?
An onion service does not protect the contents of a badly configured server. The Tor Project's setup page tells operators to configure the web server so that it does not reveal the server's IP address or other identifying details.
It also does not change how you pay for the server. Monero keeps a payment off the public record, but not out of your account: Gloamport still links your orders, the IP addresses of your VPS and the transaction ID you declare to your account number. For the payment side, read What is KYC in VPS hosting, and why do hosts ask for ID?.
Frequently asked questions
What does .onion mean?
It is the ending of an address that only the Tor network can resolve. The part before it is 56 characters long for version 3 and encodes the service's public key.
Is an onion service the same as the dark web?
An onion service is a technology: a server reachable only over Tor with a protected IP address. What people publish on it is a separate matter, and its address says nothing about the content.
Can I run an onion service from behind NAT?
Yes. The service makes outgoing connections only, so it needs no open inbound port.
Do I need a domain name for an onion service?
No. The address comes from the service's own key and is created by Tor, in the hostname file.
Can I restrict who connects to my onion service?
Yes, with v3 client authorization. Once it is configured, people who have only the address cannot reach the service; each client needs the matching private key.
In summary
- An onion service is reachable only through Tor and hides the service's IP address.
- Version 3 addresses are 56 characters plus .onion and are the service's public key.
- A connection uses 6 relays and a rendezvous point; traffic is end-to-end encrypted.
- The service needs no open inbound port.
- 10 of 42 surveyed hosts publish an official .onion address.
- You can run one on any Gloamport plan from $3.74 a month; Tor's two torrc lines set it up.
- Misconfigured servers can still leak their IP address.
Sources (4)
- Onion Services overview community.torproject.org/onion-services/overview — The Tor Project (checked 2026-11-10)
- Set up your own Onion Service community.torproject.org/onion-services/setup — The Tor Project (checked 2026-11-10)
- Onion Services client authorization community.torproject.org/onion-services/advanced/client-auth — The Tor Project (checked 2026-11-10)
- Onion Services support pages support.torproject.org/onionservices — The Tor Project (checked 2026-11-10)