I want to make two onion links to one site on my web server
I created a new address with mkp224o. Got the hostname file and 2 keys. I put it in var/lib/tor
Edited the torrc Now it's like this:
HiddenServiceDir /var/lib/tor/hidden_service/.
HiddenServicePort 80 127.0.0.1:80
HiddenServiceDir /var/lib/tor/torservice/
HiddenServicePort 80 127.0.0.1:80
But it doesn't work. And after editing torrc the link which is in /var/lib/tor/hidden_service/ stops working.
If you return it as it was, then 1 site works:
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
#HiddenServiceDir /var/lib/tor/torservice/
#HiddenServicePort 80 127.0.0.1:80
If you do this, nothing works again. It says that the onion link is not found:
#HiddenServiceDir /var/lib/tor/hidden_service/
#HiddenServicePort 80 127.0.0.1:80
HiddenServiceDir /var/lib/tor/torservice/
HiddenServicePort 80 127.0.0.1:80
By the way, the nginx configuration looks like this
server {
listen 127.0.0.1:80;
root /var/www;
client_max_body_size 100M;
charset utf-8;
index index.html;
}
What am I doing wrong? Is it possible to run 2 links on one site?
drwx--S--- 3 debian-tor debian-tor 4096 Nov 28 17:31 hidden_service drwx--S--- 2 debian-tor debian-tor 4096 Nov 29 13:23 torservice