We have learns how Tor network works and how to use it in our Tor tutorialor tutorial. As we know dark websites uses .onion for their top level domain(TLD). Here the question comes can we create our own website in Dark Web using our Kali Linux system? The answer is yes easily.
In this post we are going to learn how we can host own .onion dark web in Kali Linux.
First of all we install and configure Tor service. To do that we run following command in our Kali Linux Terminal:
We press y for yes when it prompts for storage permission. The screenshot of the command is following:
Then we need to configure torrc file located on /etc/tor/torrc . So we apply the following command :
The screenshot is following:
Then we need to find these two lines (showing in above picture) and remove # from both line and save the file . After doing this this will look like following :
Then we restart Tor by using following command:
Now we create a web page on our desktop called index.html or index.php. We do it by using
Then we edit the web page file and code a simple website for demo. We open the html/php file in leafpad
And then we write a simple html code like following:
Then we save and close this file. This file is in our Desktop, so we start a php based localhost server in our Desktop using following command:
Now we check our hosted localhost website, by navigating 127.0.0.1 from our browser.
Then we leave this terminal window as it is. Then we open another terminal and type tor in command line.
Let wait a bit and let it configure to 100%.
The screenshot is following:
All set our dark web is hosted. Hey wait, where is the .onion link ?
.onion link is generated randomly. To see our hosted demon dark website's .onion we open another terminal window (3rd time,because we can't close or use those terminals, otherwise connection will lost.) and type following command to see our Dark Web address
The screenshot is following:
Now we can access this .onion website with Tor browser from anywhere. Learn more about Tor and Tor Browser read our this tutorial.
This is a demo website for education purpose, but we can host any kind of website. Please do not abuse this to host illegal websites. That will be crime and we are not responsible for that.
In this post we are going to learn how we can host own .onion dark web in Kali Linux.
First of all we install and configure Tor service. To do that we run following command in our Kali Linux Terminal:
We press y for yes when it prompts for storage permission. The screenshot of the command is following:
Then we need to configure torrc file located on /etc/tor/torrc . So we apply the following command :
The screenshot is following:
Then we need to find these two lines (showing in above picture) and remove # from both line and save the file . After doing this this will look like following :
Then we restart Tor by using following command:
Now we create a web page on our desktop called index.html or index.php. We do it by using
Then we edit the web page file and code a simple website for demo. We open the html/php file in leafpad
And then we write a simple html code like following:
Then we save and close this file. This file is in our Desktop, so we start a php based localhost server in our Desktop using following command:
Now we check our hosted localhost website, by navigating 127.0.0.1 from our browser.
Then we leave this terminal window as it is. Then we open another terminal and type tor in command line.
Let wait a bit and let it configure to 100%.
The screenshot is following:
All set our dark web is hosted. Hey wait, where is the .onion link ?
.onion link is generated randomly. To see our hosted demon dark website's .onion we open another terminal window (3rd time,because we can't close or use those terminals, otherwise connection will lost.) and type following command to see our Dark Web address
The screenshot is following:
Now we can access this .onion website with Tor browser from anywhere. Learn more about Tor and Tor Browser read our this tutorial.
This is a demo website for education purpose, but we can host any kind of website. Please do not abuse this to host illegal websites. That will be crime and we are not responsible for that.