How to set up your .onion server

These notes exist because a complete, practical walkthrough was hard to find. Follow the five guides in order and you will have a Linux host publishing a website on a .onion address.

What this site is Free documentation for running your own onion service. The original WordPress site used comments for corrections; this static version keeps the same steps, cleaned up for reading.

The path

Guide 5 continues with ModSecurity, LEMP hardening, knockd, and the onion service checklist.

What you will need

Each step shows how to obtain these. You do not need everything on day one.

Windows 10 with Hyper‑V

Included with Windows 10. Used in guide 2 to run an Ubuntu desktop VM for vanity address generation.

Linux server (or cloud)

Ubuntu is used throughout. You can reuse the VM from guide 2, or a host on AWS, Azure, or another provider.

Versions in these notes The original write-up used Ubuntu 19.10 and PHP 7.1. Those releases are end-of-life. The procedure is the same on a current Ubuntu LTS; substitute current package names where needed.