Hi, I have kali linux system with whonix running on virtualbox. I tried the same procedure to set up an hidden service on linux with apache2 but as you can guess without success.
THis is what i did:
1-Apache2 settings:
/etc/apache2/ports.conf
Listen 80
Listen 443
/etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
--------------------------------------------------
2/Tor settings
/etc/tor/torrc (on workstation)
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
/usr/local/etc/torrc.d/50_user.conf (on gateway)
HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
adding the lines to 50_user.conf file, i get the hidden service folder with hostname inside.
but i cannot see the website(apache2 index.html). and get error ‘Unable to connect’
Can someone help me out here please?
I read lot of topics here before make a registration and open this topic, thanks in advance.