Step by step procedure on how to create your very own dark web website on any Linux device.
- Update Linux repository
- Install Tor
- Install nginx
sudo apt update
Sudo apt install tor
sudo nano /etc/tor/torrc
#HiddenServiceDir varlib/tor/hidden_service/ - This where your private key and public key (your .onion address) will be stored
#HiddenServicePort 80 127.0.0.1:80 – This is what your going to expose to the dark web
sudo service tor stop -stop tor services sudo service tor start - stop tor services sudo service tor status – check the status of tor services
To check your onion address sudo cat /var/lib/tor/hidden_service/hostname asjdlajsdkjaklsdjklasjdljsdsj2339jkljdsfds.onion- this is your onion address
sudo apt install nginxWe then start Nginx sudo service nginx start sudo service nginx status
sudo nano /etc/nginx/nginx.conf
server_tokens off;
port_in_redirect off;
server_name_in_redirect off;
sudo service nginx restart
cd /var/www ls cd html ls
Warning
Hosting a darkweb website on your device is dangerous and users are advised to practice this in a virtual environment so as to minimise the risk of exposing your device to the dangers of the dark net