How to host deepweb onion site and make it untraceable nginx

Опубликовано: 22 Июнь 2026
на канале: DeadSh0t
4,411
62

server {
listen 127.0.0.1:80 default_server;


root /var/www/hidden_service;

server_name bvibfr576o4zpdr6.onion;
}


server_name_in_redirect off;
server_tokens off;
port_in_redirect off;

step1:
Install nginx
sudo apt install nginx

step 2:
install tor
sudo apt install tor

step 3:
uncomment the 2 hiddenservice lines in /etc/torrc
nano /etc/torrc
systemctl restart tor
cat /var/lib/tor/hidden_service/hostname
this will show you tour onion address copy it to somewhere cause we will need it

step 4:
create site directory
mkdir /var/www/hidden_service

step 5:
configure nginx default vhost
nano /etc/nginx/sites-available/default
uncomment everything or remove everything and paste this into the file:
server {
listen 127.0.0.1:80 default_server;


root /var/www/hidden_service;

server_name bvibfr576o4zpdr6.onion;
}

put your own onion address in the place of the onion address thtas already there

step 6:
turn off nginx version detection
nano /etc/nginx/nginx.conf
in the http block paste this:
server_name_in_redirect off;
server_tokens off;
port_in_redirect off;

now restart nginx
sudo systemctl restart nginx