Setting up a Tor hidden service on AnubizHost Linux VPS:
Install Tor:apt install tor
Configure /etc/tor/torrc:HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
Start Tor:systemctl restart tor
Get your .onion address:cat /var/lib/tor/hidden_service/hostname
Run web server locally: Nginx or Apache listening on 127.0.0.1:80 only. Never expose your actual web server port to the public internet - route all traffic through Tor.
Generate vanity .onion address (optional): Use mkp224o to generate a .onion address with a specific prefix. Computational cost: approximately 1 hour to generate a 6-character prefix on modern hardware.