Tor is a A free software implementation of second-generation onion routing, a system enabling its users to communicate anonymously on the Internet. You can make your own website or server inside TOR and it will be hidden inside the TOR network. So no one will know who made the website or where it is actually located. In this tutorial, we will use Savant web server to create a hidden service on TOR. Here are the instructions.
Step 1: Install Tor
The first thing to do is to download and install Tor on your computer. If you already have Tor on your computer, you can skip this step. By default, it has a specially configured Firefox browser which will let you access the Tor websites and services. This is how the Tor Control Panel looks like when you launch it.
A green icon will appear on your task bar when you’re connected to the Tor network.
Just to make sure things are working fine, let’s load a sample URL on the browser that has popped up. Enter duskgytldkxiuqc6.onion into the address bar and hit enter to see what happens.
Keep in mind that your PC or machine must be switched on at all times to make sure your website is accessible to others. If your computer is not connected to the internet or if your PC is switched off, the service won’t be accessible.
Step 2: Installing web server & Configuring it
So now we require a web server for the hosting purposes. Tor recommends using an Apache server so we will be using Savant web server. Download Savant Web Server. and install it. Now open up Savant and click Configuration. And under Server DNS Entry “localhost” to make your website private and inaccessible for other users and to prevent others from identifying your IP.
Once you have configured your web server, now it’s time to add contents to the site. So go to the place where Savant is installed, (C:\Savant\Root by default) and replace the index.html with your homepage. You can edit the page to suit your wish. Here is a simple shout out I did quickly.
Step 3: More Configurations
Alright, you have installed Tor and your service is up and running. Now you have to tell Tor that you have done it and register the information to the torrc file. So first, shut down Tor if it is running at present.
Now you need to find the torrc file. By default, it’s in the Tor Browser\Data\Tor folder. Open the file with notepad or any other similar editors.
Now add these lines at the end of the file:
# Hidden Service
HiddenServicePort 80 127.0.0.1:80
Save the file and make sure you create the directory you specified in the lines if you do not have them already.
Now restart Tor once you have done this. Make sure there are no errors listed in the Messages log.
Now check the folder you created a two steps ago to find two files, hostname and private_key. Don’t ever share the private_key with anyone or they can easily clone your website.
Now you need to open the hostname file using a text editor, Notepad in this case and it will tell you the address of your Tor website.Plug this into your address bar and hit enter to see your very own Tor website!
That’s it for this tutorial. You’ve successfully made your very own anonymous, hidden Tor website. I hope you liked my tutorial. Don’t forget to drop comments below.