Quick tutorial on how to host and run your own Linux server: i.e. hidden service.
First download whonix workstation + gateway.on the whonix gateway
sudo nano /etc/tor/torrc
make sure to have the following 2 lines in the file
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 192.168.0.11:80
restart tor
sudo service tor reload
get your hidden .onion url
sudo nano /var/lib/tor/hidden_service/hostnamenow on the workstation. lighttpd is an open-source web server.
sudo apt-get update
sudo apt-get install lighttpd
Done.