DarkWeb site with tor on linux
DarkWeb is very usefull to be anonymous you can get you own .onion website and host on wide area network free.
i assume you are using kali linux or parrot sec os open terminal and install tor sudo apt-get install tor after you just need to edit some in configuration file of tor.
open terminal and type cd /etc/tor and than ls for list dir you will see torrc file there that you have to edit
open this file in your favorite text editor and add two lines
HiddenServicePort 80 <Your local IP>:80
Check your local ip with ifconfig
open your file manager with root and go in /var/lib/tor/hidden_service there you get your website
and boom you done it at last start tor by sudo service tor start and sudo service apache2 start
NOTE:- Now you face a problem that site cant be reach! Here is the solution
Forward your port | Go on Internet
This is just make a connection between your local ip to the internet so you can access your website worldwide
for more about Port forwarding click here
i suggest you to use NGROK for download click available for all Systems
after Download you just forward your port with ./ngrok http 80 80 for http so you apache server will be on WAN and your onion site can reach it.
after forward your port you see like this
just copy 4f28046d.ngrok.io this link and paste where you put your local ip if you remember above
in file torrc and save it again and restart tor again and now you can access your apache site with onion site
paste your website here /var/www and boom your website is ready for share on social media.
Sorry if i made any mistake in conceptual or grammatical, as i am not good in English.
Hope you had a nice reading, comming back to hacknews.