<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hosting DarkWeb Website Archives - Good Shepherd News - Fastest Growing Religious, Free Speech &amp; Political Content</title>
	<atom:link href="https://goodshepherdmedia.net/tag/hosting-darkweb-website/feed/" rel="self" type="application/rss+xml" />
	<link>https://goodshepherdmedia.net/tag/hosting-darkweb-website/</link>
	<description>Christian, Political, ‎‏‏‎Social &#38; Legal Free Speech News &#124; Ⓒ2024 Good News Media LLC &#124; Shepherd for the Herd! God 1st Programming</description>
	<lastBuildDate>Wed, 11 Oct 2023 11:24:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>

<image>
	<url>https://goodshepherdmedia.net/wp-content/uploads/2023/08/Good-Shepherd-News-Logo-150x150.png</url>
	<title>Hosting DarkWeb Website Archives - Good Shepherd News - Fastest Growing Religious, Free Speech &amp; Political Content</title>
	<link>https://goodshepherdmedia.net/tag/hosting-darkweb-website/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hosting Anonymous Website on Tor Network</title>
		<link>https://goodshepherdmedia.net/hosting-anonymous-website-on-tor-network/</link>
		
		<dc:creator><![CDATA[The Truth News]]></dc:creator>
		<pubDate>Sat, 14 Oct 2023 11:17:44 +0000</pubDate>
				<category><![CDATA[⚠️Breaking News⚠️]]></category>
		<category><![CDATA[Digital Pioneers]]></category>
		<category><![CDATA[Government Spying]]></category>
		<category><![CDATA[Hackers / Master Programmers]]></category>
		<category><![CDATA[Software Pioneers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Top Stories]]></category>
		<category><![CDATA[Zee Truthful News]]></category>
		<category><![CDATA[🎖️🪖Military Tech🤖]]></category>
		<category><![CDATA[💻Tech History]]></category>
		<category><![CDATA[Dark Web]]></category>
		<category><![CDATA[Hosting Anonymous Website]]></category>
		<category><![CDATA[Hosting DarkWeb Website]]></category>
		<category><![CDATA[Tor Browser]]></category>
		<category><![CDATA[Tor Network]]></category>
		<guid isPermaLink="false">https://goodshepherdmedia.net/?p=16265</guid>

					<description><![CDATA[Hosting Anonymous Website on Tor Network Introduction: Clearnet vs. Darknet The Internet is divided — in terms of anonymity — into two nets: Clearnet and Darknet. The main difference between the two nets is traceability. In Clearnet, sources and destinations know about each other; in every communication, the source knows the destination address and the [&#8230;]]]></description>
										<content:encoded><![CDATA[<h1 id="3c84" class="pw-post-title et eu ev be ew ex ey ez fa fb fc fd fe ff fg fh fi fj fk fl fm fn fo fp fq fr fs ft fu fv bj" data-testid="storyTitle" data-selectable-paragraph="">Hosting Anonymous Website on Tor Network</h1>
<div class="ds dt du dv dw l">
<article>
<div class="l">
<div class="l">
<section>
<div class="eo ep eq er es">
<div class="ab ca">
<div class="ch bg dx dy dz ea">
<figure class="lg lh li lj lk ll ld le paragraph-image">
<div class="lm ln go lo bg lp" tabindex="0" role="button">
<div class="ld le lf"><picture><img fetchpriority="high" decoding="async" class="bg lq lr c" role="presentation" src="https://miro.medium.com/v2/resize:fit:1050/1*pmXu700rX7d3Xa5SCGQp1Q.png" alt="" width="700" height="467" /></picture></div>
</div>
</figure>
<h1 id="7881" class="ls lt ev be lu lv lw lx ly lz ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp bj" data-selectable-paragraph="">Introduction: Clearnet vs. Darknet</h1>
<p id="c5ed" class="pw-post-body-paragraph mq mr ev ms b mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn eo bj" data-selectable-paragraph="">The Internet is divided — in terms of anonymity — into two nets: Clearnet and Darknet. The main difference between the two nets is traceability. In Clearnet, sources and destinations know about each other; in every communication, the source knows the destination address and the destination knows the source address. This is the Internet as most people know it; whenever you access a website, like <a class="af no" href="http://www.google.com/" target="_blank" rel="noopener ugc nofollow">www.google.com</a>, <a class="af no" href="http://www.apple.com/" target="_blank" rel="noopener ugc nofollow">www.apple.com</a>, <a class="af no" href="http://www.amazon.com/" target="_blank" rel="noopener ugc nofollow">www.amazon.com</a>, etc., your browser knows the exact address (IP) of each of those websites. They are traceable. Similarly, those websites know your IP address and can trace it back as well.</p>
<p id="be3f" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Let’s take the example of <a class="af no" href="http://www.google.com/" target="_blank" rel="noopener ugc nofollow">www.google.com</a>. When I type this address in my browser, the browser through the OS will resolve this hostname into its corresponding IP address, which is now 172.217.21.68. By performing a geo-location and WHOIS lookups, we can directly know that this IP address is located in Mountain View, California, USA. We can also know that it belongs to Google LLC ISP.</p>
<p id="67b4" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Similarly, Google would know the IP address of the client that is connecting to it. Given the nature of TCP/IP, when a client connects to a server over TCP or UDP protocol, communication takes place between the IP address of the client and that of the server. Thus, the server always knows the IP address of the client, and the client always knows the IP address of the server. Both of them can exactly locate the geographical location — city and country — of the other, in addition to the ISP under which the IP address is assigned.</p>
<p id="9911" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">We know that most of the times clients have private IP addresses (e.g., 192.168.0.5) which are not routable on the Internet. However, the connection will undergo a NAT (Network Address Translation) process at the gateway. However, the IP address of the gateway is public and traceable. The gateway can be under the administration of an organization, such as a business company or even a local ISP. Nonetheless, NAT does not mean anonymity. Its use is to share a public IP address with multiple private systems.</p>
<p id="1c30" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">When clients want to hide themselves, that is, when they want to remain anonymous while browsing the Internet, a popular technique is to use a VPN (Virtual Private Network) service. With VPN, the client (e.g., the browser) does not connect directly to the intended server (e.g., <a class="af no" href="http://www.google.com/" target="_blank" rel="noopener ugc nofollow">www.google.com</a>); rather, it establishes an end-to-end tunnel with a VPN system which may exist anywhere in the world. Then, through that VPN, another connection is made with the intended server. In this case, the server — such as <a class="af no" href="http://www.google.com/" target="_blank" rel="noopener ugc nofollow">www.google.com</a> — communicates with the VPN system; it only knows the IP address of that VPN system. In other words, the VPN system appears to be the client. The server would have no idea about the real client.</p>
<p id="a205" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">At maximum, VPN provides anonymity for the client who is browsing the Internet. But it will not make the websites anonymous. On the Clearnet, all websites are traceable. What we are interested in here is to make our website itself anonymous. We want a website that people access without knowing its real IP address or its actual location.</p>
<p><iframe title="How To Make Your Own Dark Web .Onion Website!" width="640" height="360" src="https://www.youtube.com/embed/4xFBE6pw1Rc?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p><iframe title="i put a DARK WEB website on a Raspberry Pi!!" width="640" height="360" src="https://www.youtube.com/embed/bllS9tkCkaM?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p><iframe title="Host Your Own Tor Hidden Service with an Onion Address [Tutorial]" width="640" height="360" src="https://www.youtube.com/embed/GVMjk9pj2Cw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p><iframe title="How To Create A Darknet Website (.ONION) In Under 5 Minutes" width="640" height="360" src="https://www.youtube.com/embed/vAx9TAWgNRE?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p><iframe title="The Onion Routing: How To Host Darkweb For Free" width="640" height="360" src="https://www.youtube.com/embed/L2JXsJURKCY?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<h1 id="a02c" class="ls lt ev be lu lv lw lx ly lz ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp bj" data-selectable-paragraph="">Tor: The Onion Router</h1>
<p id="1126" class="pw-post-body-paragraph mq mr ev ms b mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn eo bj" data-selectable-paragraph="">One of the most popular and widely used Darknets available nowadays is Tor — which stands for The Onion Router. It enables anonymous communication between its participants, and provides confidentiality, privacy, and freedom. Confidentiality is the result of using strong cryptographic protocols such as SSL/TLS; privacy is the anonymity provided by relaying the messages through a chain of multiple routers (relays) where each router can only know about the previous and next ones in the chain but not the whole chain; and freedom is given by allowing people to share and access whatever they want.</p>
<figure class="nv nw nx ny nz ll ld le paragraph-image">
<div class="lm ln go lo bg lp" tabindex="0" role="button">
<div class="ld le nu"><img decoding="async" class="alignnone size-full wp-image-16272" src="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_RGLbNwKuC24L3NWm7DwoCQ.webp" alt="" width="768" height="373" srcset="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_RGLbNwKuC24L3NWm7DwoCQ.webp 768w, https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_RGLbNwKuC24L3NWm7DwoCQ-400x194.webp 400w" sizes="(max-width: 768px) 100vw, 768px" /></div>
</div>
</figure>
<p id="589b" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">The above diagram shows a typical scenario of a Tor client accessing a public website. The Tor browser connects initially to a Tor relay that is called Entry Guard; it is the first Tor relay in the chain; however, it does not know that it is the first. The Entry Guard has no idea whether the previous system is another relay or a client. The Entry guard connects to another relay called Middle Relay which also connects to another Middle Relay. The last relay in the chain is the Exist Relay which connects to the public website. Each relay knows only the previous system and the next one, but never the whole chain. The public website knows that it is being accessed through Tor, but it has no way to know any system beyond the Exit Relay. From the public website perspective, connection is initiated by the Exit Relay. The following image shows a list of Tor Relays when accessing Google website (clearnet) from the Tor browser:</p>
<figure class="nv nw nx ny nz ll ld le paragraph-image">
<div class="ld le oa"><img decoding="async" class="alignnone size-full wp-image-16271" src="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_LyMQ32R9M79OxwPeieSw1Q.webp" alt="" width="360" height="387" /></div>
</figure>
<p id="86a7" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">We can see that the connection passes first through the Entry Guard (91.67.191.179) in Germary, then through the Middle Relay (87.236.195.253) in Czech Republic, and finally through the Exit Relay (89.34.27.48) in Romania before it terminates at Google server.</p>
<p id="3a13" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">To provide the required anonymity, Tor uses a technology called onion routing. Basically, the Tor browser encapsulates the message — which is to be sent to the remote server — with multiple layers of encryption. Each relay in the Tor chain can decrypt and peel one layer only. The last relay (Exist Relay) removes the last layer and sends the message to the remote server. This process of making multiple layers of encryption is what gave this protocol its name, Onion Routing.</p>
<figure class="nv nw nx ny nz ll ld le paragraph-image">
<div class="lm ln go lo bg lp" tabindex="0" role="button">
<div class="ld le nu"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-16270" src="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1__0zDvAGxJbZDOm2NrtR0zQ.webp" alt="" width="768" height="383" srcset="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1__0zDvAGxJbZDOm2NrtR0zQ.webp 768w, https://goodshepherdmedia.net/wp-content/uploads/2023/10/1__0zDvAGxJbZDOm2NrtR0zQ-400x199.webp 400w" sizes="(max-width: 768px) 100vw, 768px" /></div>
</div>
</figure>
<p id="f079" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">The above diagram shows how the message would flow until it reaches the public website. We can see that the Tor browser adds as many layers as the number of relays in the chain.</p>
<p id="f89a" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">However, when you access a web server that is hidden in the Tor Network, the mechanism of access changes slightly. In short, one Tor Relay server will be chosen as a Rendezvous Point (RP); and then, there will be two chains: one from the Tor client to the RP, and another from the Tor hidden server to the RP. The following diagram shows — from a higher perspective — the Tor provides anonymous access to hidden services:</p>
<figure class="nv nw nx ny nz ll ld le paragraph-image">
<div class="lm ln go lo bg lp" tabindex="0" role="button">
<div class="ld le nu"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-16269" src="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_aqV4shIifqtzh5QyJYw1Cw.webp" alt="" width="768" height="383" srcset="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_aqV4shIifqtzh5QyJYw1Cw.webp 768w, https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_aqV4shIifqtzh5QyJYw1Cw-400x199.webp 400w" sizes="(max-width: 768px) 100vw, 768px" /></div>
</div>
</figure>
<p id="2ae2" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">One last thing we need to know when accessing a hidden service is the Onion Address. Unlike normal websites which we access using their URLs, hidden services are accessed using a special type of addresses called onion addresses. Each Onion Address contains an opaque non-mnemonic string of 16 characters followed by a special TLD (top level domain) address of .onion. All .onion addresses are not part of the typical DNS on the Internet. Here is an example of an Onion Address:</p>
<blockquote class="ob oc od">
<p id="c8f5" class="mq mr oe ms b mt np mv mw mx nq mz na of nr nd ne og ns nh ni oh nt nl nm nn eo bj" data-selectable-paragraph=""><a class="af no" href="http://zqktlwi4fecvo6ri.onion/" target="_blank" rel="noopener ugc nofollow">http://zqktlwi4fecvo6ri.onion/</a></p>
</blockquote>
<p id="0cf0" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">The following image shows a list of servers when accessing an Onion server (DuckDuckGo hidden website):</p>
<figure class="nv nw nx ny nz ll ld le paragraph-image">
<div class="lm ln go lo bg lp" tabindex="0" role="button">
<div class="ld le oi"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-16268" src="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_W1rowmD6-0fXe4yKd7Z9ZA.webp" alt="" width="427" height="465" srcset="https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_W1rowmD6-0fXe4yKd7Z9ZA.webp 427w, https://goodshepherdmedia.net/wp-content/uploads/2023/10/1_W1rowmD6-0fXe4yKd7Z9ZA-367x400.webp 367w" sizes="(max-width: 427px) 100vw, 427px" /></div>
</div>
</figure>
<p id="06dd" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">There are two connections here: the first starts from the Tor browser and ends at the Rendezvous Point (192.42.116.27) in Netherlands, and the second starts from the hidden website (the Onion server) and terminates at the Rendezvous Point passing through hidden Relays.</p>
<h1 id="4b5d" class="ls lt ev be lu lv lw lx ly lz ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp bj" data-selectable-paragraph="">Hosting on Tor</h1>
<h2 id="aab9" class="oj lt ev be lu ok ol om ly on oo op mc nb oq or os nf ot ou ov nj ow ox oy oz bj" data-selectable-paragraph="">[1] Installing and Configuring Tor</h2>
<p id="46a0" class="pw-post-body-paragraph mq mr ev ms b mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn eo bj" data-selectable-paragraph="">Tor comes in two components: the Tor browser, and the Tor server. The Tor browser is used to access either websites on the Clearnet while maintaining your anonymity, or websites hidden on the Tor network itself. In both cases, you remain anonymous to the website. However, if you want to hide your own website, you will need the Tor server. To install those two components on your Kali Linux system, you will need to issue the following commands:</p>
<pre class="nv nw nx ny nz pa pb pc pd ax pe bj"><span id="fe64" class="oj lt ev pb b gw pf pg l hn ph" data-selectable-paragraph="">apt-get update
apt-get install tor
apt-get install torbrowser-launcher</span></pre>
<h2 id="536d" class="oj lt ev be lu ok ol om ly on oo op mc nb oq or os nf ot ou ov nj ow ox oy oz bj" data-selectable-paragraph="">[2] Setting up an HTTP Server</h2>
<p id="6456" class="pw-post-body-paragraph mq mr ev ms b mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn eo bj" data-selectable-paragraph="">It is time now to configure your web server. You can use any webserver you like. For the sake of this tutorial, however, we will use Apache server on Kali Linux. One important consideration you should be aware of is the fact that your web server must run on localhost only; that is, it must be listening only on 127.0.0.1. The reason this is important is that it guarantees the anonymity we are after. The default behavior of Apache server — once you start it — is to listen on all available interfaces. If you do not change that, your web server may become accessible from Clearnet in addition to the Tor network, and you do not want that. You want your website to be accessible only from Tor. To change this behavior, we will edit the file /etc/apache2/ports.conf:</p>
<pre class="nv nw nx ny nz pa pb pc pd ax pe bj"><span id="7cbb" class="oj lt ev pb b gw pf pg l hn ph" data-selectable-paragraph=""># edit /etc/apache2/ports.conf</span></pre>
<p id="241e" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Then, change the IP address 0.0.0.0 to 127.0.0.1 for port 80 and 443 (SSL/TLS) as follows:</p>
<figure class="nv nw nx ny nz ll">
<div class="pi hp l go">
<div class="aet pk l">
<pre><strong><em><span style="color: #ff0000;">Listen 127.0.0.1:80

&lt;IfModule ssl_module&gt;
Listen 127.0.0.1:443
&lt;/IfModule&gt;

&lt;IfModule mod_gnutls.c&gt;
Listen 127.0.0.1:443
&lt;/IfModule&gt;</span></em></strong></pre>
</div>
</div>
</figure>
<p id="42b0" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Then, save the file ports.conf.</p>
<p id="f996" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Add the files of your website to the director /var/www/html. For the sake of this tutorial, we will create the file oursite.html which will include the following HTML code:</p>
<figure class="nv nw nx ny nz ll">
<div class="pi hp l go">
<div class="aeu pk l">
<pre><strong><em><span style="color: #ff0000;">&lt;html&gt;
	&lt;body&gt;
		&lt;h1&gt;&lt;center&gt;This is our Hidden Website&lt;/center&gt;&lt;/h1&gt;
	&lt;/body&gt;
&lt;/html&gt;</span></em></strong></pre>
</div>
</div>
</figure>
<p id="9edd" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Now, we will save the file oursite.html in /var/www/html. It is time to start Apache:</p>
<pre class="nv nw nx ny nz pa pb pc pd ax pe bj"><span id="79b4" class="oj lt ev pb b gw pf pg l hn ph" data-selectable-paragraph=""># /etc/init.d/apache2 restart</span></pre>
<p id="299b" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">We can now verify that our website is accessible on the locahost by accessing it through a normal web browser, e.g., Firefox, with the address</p>
<blockquote class="ob oc od">
<p id="ac0b" class="mq mr oe ms b mt np mv mw mx nq mz na of nr nd ne og ns nh ni oh nt nl nm nn eo bj" data-selectable-paragraph=""><a class="af no" href="http://localhost/oursite.html" target="_blank" rel="noopener ugc nofollow">http://localhost/oursite.html</a></p>
</blockquote>
<figure class="nv nw nx ny nz ll ld le paragraph-image">
<div class="lm ln go lo bg lp" tabindex="0" role="button">
<div class="ld le nu"><picture><source srcset="https://miro.medium.com/v2/resize:fit:640/format:webp/1*qa9FCaSoLn9Sy0YkhnaHOg.png 640w, https://miro.medium.com/v2/resize:fit:720/format:webp/1*qa9FCaSoLn9Sy0YkhnaHOg.png 720w, https://miro.medium.com/v2/resize:fit:750/format:webp/1*qa9FCaSoLn9Sy0YkhnaHOg.png 750w, https://miro.medium.com/v2/resize:fit:786/format:webp/1*qa9FCaSoLn9Sy0YkhnaHOg.png 786w, https://miro.medium.com/v2/resize:fit:828/format:webp/1*qa9FCaSoLn9Sy0YkhnaHOg.png 828w, https://miro.medium.com/v2/resize:fit:1100/format:webp/1*qa9FCaSoLn9Sy0YkhnaHOg.png 1100w, https://miro.medium.com/v2/resize:fit:1400/format:webp/1*qa9FCaSoLn9Sy0YkhnaHOg.png 1400w" type="image/webp" sizes="(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px" /><source srcset="https://miro.medium.com/v2/resize:fit:640/1*qa9FCaSoLn9Sy0YkhnaHOg.png 640w, https://miro.medium.com/v2/resize:fit:720/1*qa9FCaSoLn9Sy0YkhnaHOg.png 720w, https://miro.medium.com/v2/resize:fit:750/1*qa9FCaSoLn9Sy0YkhnaHOg.png 750w, https://miro.medium.com/v2/resize:fit:786/1*qa9FCaSoLn9Sy0YkhnaHOg.png 786w, https://miro.medium.com/v2/resize:fit:828/1*qa9FCaSoLn9Sy0YkhnaHOg.png 828w, https://miro.medium.com/v2/resize:fit:1100/1*qa9FCaSoLn9Sy0YkhnaHOg.png 1100w, https://miro.medium.com/v2/resize:fit:1400/1*qa9FCaSoLn9Sy0YkhnaHOg.png 1400w" sizes="(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px" data-testid="og" /><img loading="lazy" decoding="async" class="bg lq lr c" role="presentation" src="https://miro.medium.com/v2/resize:fit:1050/1*qa9FCaSoLn9Sy0YkhnaHOg.png" alt="" width="700" height="280" /></picture></div>
</div>
</figure>
<h2 id="f320" class="oj lt ev be lu ok ol om ly on oo op mc nb oq or os nf ot ou ov nj ow ox oy oz bj" data-selectable-paragraph="">[3] Add the Website to Tor</h2>
<p id="faa9" class="pw-post-body-paragraph mq mr ev ms b mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn eo bj" data-selectable-paragraph="">Now that we have our web server listening on localhost, we can configure our Tor program to designate this server as a Tor hidden service. We do this by editing Tor configuration file /etc/tor/torrc as follows:</p>
<figure class="nv nw nx ny nz ll">
<div class="pi hp l go">
<div class="aev pk l">
<pre><strong><em><span style="color: #ff0000;">############### This section is just for location-hidden services ###

## Once you have configured a hidden service, you can look at the
## contents of the file ".../hidden_service/hostname" for the address
## to tell people.
##
## HiddenServicePort x y:z says to redirect requests on port x to the
## address y:z.

HiddenServiceDir /var/lib/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80

#HiddenServiceDir /var/lib/tor/other_hidden_service/
#HiddenServicePort 80 127.0.0.1:80
#HiddenServicePort 22 127.0.0.1:22</span></em></strong></pre>
</div>
</div>
</figure>
<p id="c81b" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">We need to uncomment the line starting with HiddenServiceDir. We can add as many HiddenServiceDir as we want depending on the number of hidden services we want to host. And then, we need to uncomment the line with the HiddenServicePort directive.</p>
<h2 id="265a" class="oj lt ev be lu ok ol om ly on oo op mc nb oq or os nf ot ou ov nj ow ox oy oz bj" data-selectable-paragraph="">[4] Run Tor Service</h2>
<p id="0fe8" class="pw-post-body-paragraph mq mr ev ms b mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn eo bj" data-selectable-paragraph="">After editing the configuration file, we need to run the actual Tor service. It will perform all necessary work to register your website in the Tor network. It will also create private and public keys for encryption and will create an onion address which people are going to use to access your website.</p>
<pre class="nv nw nx ny nz pa pb pc pd ax pe bj"><strong><em><span style="color: #ff0000;"><span id="b2e8" class="oj lt ev pb b gw pf pg l hn ph" data-selectable-paragraph=""># tor</span><span id="ce9d" class="oj lt ev pb b gw pl pg l hn ph" data-selectable-paragraph="">Nov 13 17:18:09.832 [notice] Tor 0.3.4.8 (git-5da0e95e4871a0a1) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0h, Zlib 1.2.8, Liblzma 5.2.2, and Libzstd 1.3.5.
Nov 13 17:18:09.851 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at <a class="af no" style="color: #ff0000;" href="https://www.torproject.org/download/download#warning" target="_blank" rel="noopener ugc nofollow">https://www.torproject.org/download/download#warning</a>
Nov 13 17:18:09.947 [notice] Read configuration file “/etc/tor/torrc”.
…
…
…
Nov 13 17:18:36.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Nov 13 17:18:37.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Nov 13 17:18:37.000 [notice] Bootstrapped 100%: Done</span></span></em></strong></pre>
<p id="c58a" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Once it is done, leave the terminal window open. The Tor program will create two files under the directory /var/lib/tor/hidden_services/ and those files are:</p>
<ul class="">
<li id="65f4" class="mq mr ev ms b mt np mv mw mx nq mz na nb pm nd ne nf pn nh ni nj po nl nm nn pp pq pr bj" data-selectable-paragraph="">hostname: this file contains the Onion address of your website.</li>
<li id="c2b4" class="mq mr ev ms b mt ps mv mw mx pt mz na nb pu nd ne nf pv nh ni nj pw nl nm nn pp pq pr bj" data-selectable-paragraph="">private_key: this file contains the private key. It should be completely secure.</li>
</ul>
<p id="1d32" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">One important note here is that the private_key file must be kept confidential and secure. Tor generates for your website two keys: public and private. The public key is sent to the actual Tor network and gets stored in a directory database along with many other public keys of other websites. Users wishing to access your website use that public key to make the connection. However, your local Tor service uses the private key to decrypt the traffic.</p>
<h2 id="1eed" class="oj lt ev be lu ok ol om ly on oo op mc nb oq or os nf ot ou ov nj ow ox oy oz bj" data-selectable-paragraph="">[5] Accessing the Hidden Website</h2>
<p id="f652" class="pw-post-body-paragraph mq mr ev ms b mt mu mv mw mx my mz na nb nc nd ne nf ng nh ni nj nk nl nm nn eo bj" data-selectable-paragraph="">If you have done everything correctly up to now, you should have your onion address in the file /var/lib/tor/hidden_service/hostname. In our example, we have the following address:</p>
<pre class="nv nw nx ny nz pa pb pc pd ax pe bj"><strong><em><span style="color: #ff0000;"><span id="f233" class="oj lt ev pb b gw pf pg l hn ph" data-selectable-paragraph=""># cd /var/lib/tor/hidden_service/</span><span id="eb6e" class="oj lt ev pb b gw pl pg l hn ph" data-selectable-paragraph=""># cat hostname
hq6zcsomi5cmondk.onion</span></span></em></strong></pre>
<p id="468c" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">All you need to do now is to open a Tor Browser — from any system on the Internet — and type the above address in the URL bar:</p>
<pre class="nv nw nx ny nz pa pb pc pd ax pe bj"><em><span style="color: #ff0000;"><strong><span id="eec2" class="oj lt ev pb b gw pf pg l hn ph" data-selectable-paragraph=""># torbrowser-launcher &amp;</span></strong></span></em></pre>
<p id="9269" class="pw-post-body-paragraph mq mr ev ms b mt np mv mw mx nq mz na nb nr nd ne nf ns nh ni nj nt nl nm nn eo bj" data-selectable-paragraph="">Notice that we also need to enter the html file name — we created earlier — after the address. Thus, our address looks exactly like this:</p>
<blockquote class="ob oc od">
<p id="3930" class="mq mr oe ms b mt np mv mw mx nq mz na of nr nd ne og ns nh ni oh nt nl nm nn eo bj" data-selectable-paragraph=""><a href="http://hq6zcsomi5cmondk.onion/oursite.html" target="_blank" rel="noopener">hq6zcsomi5cmondk.onion/oursite.html</a></p>
</blockquote>
<figure class="nv nw nx ny nz ll ld le paragraph-image">
<div class="lm ln go lo bg lp" tabindex="0" role="button">
<div class="ld le nu"><picture><source srcset="https://miro.medium.com/v2/resize:fit:640/format:webp/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 640w, https://miro.medium.com/v2/resize:fit:720/format:webp/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 720w, https://miro.medium.com/v2/resize:fit:750/format:webp/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 750w, https://miro.medium.com/v2/resize:fit:786/format:webp/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 786w, https://miro.medium.com/v2/resize:fit:828/format:webp/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 828w, https://miro.medium.com/v2/resize:fit:1100/format:webp/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 1100w, https://miro.medium.com/v2/resize:fit:1400/format:webp/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 1400w" type="image/webp" sizes="(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px" /><source srcset="https://miro.medium.com/v2/resize:fit:640/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 640w, https://miro.medium.com/v2/resize:fit:720/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 720w, https://miro.medium.com/v2/resize:fit:750/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 750w, https://miro.medium.com/v2/resize:fit:786/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 786w, https://miro.medium.com/v2/resize:fit:828/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 828w, https://miro.medium.com/v2/resize:fit:1100/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 1100w, https://miro.medium.com/v2/resize:fit:1400/1*cZ6ERRjdI_ImZ3nzsXqgUw.png 1400w" sizes="(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px" data-testid="og" /><img loading="lazy" decoding="async" class="bg lq lr c" role="presentation" src="https://miro.medium.com/v2/resize:fit:1050/1*cZ6ERRjdI_ImZ3nzsXqgUw.png" alt="" width="700" height="337" /></picture></div>
</div>
</figure>
</div>
</div>
</div>
</section>
</div>
</div>
</article>
<div class="ab ca">
<div class="ch bg dx dy dz ea"><a href="https://medium.com/axon-technologies/hosting-anonymous-website-on-tor-network-3a82394d7a01" target="_blank" rel="noopener">source</a></div>
</div>
</div>
<div class="l">
<h2>learn more</h2>
<h3><a href="https://goodshepherdmedia.net/the-dark-web-browser-what-is-tor-is-it-safe-and-how-to-use-it-the-tor-browser-takes-online-privacy-to-extremes-with-an-encrypted-and-anonymous-connection-tor-helps-you-access-the-unindexed-part-o/" target="_blank" rel="noopener">The Dark Web Browser: What Is Tor, Is It Safe, and How to Use It</a></h3>
<h3><a href="https://goodshepherdmedia.net/most-popular-and-interesting-dark-web-websites-with-onion-links/">Most Popular and Interesting Dark Web Websites (with Onion Links)</a></h3>
<h3><a href="https://goodshepherdmedia.net/cia-sets-up-untraceable-dark-web-website-on-the-anonymous-encrypted-tor-network/" target="_blank" rel="noopener">CIA sets up Untraceable Dark Web Website on the Anonymous, Encrypted Tor Network</a></h3>
<h3><a href="https://goodshepherdmedia.net/hosting-anonymous-website-on-tor-network/" target="_blank" rel="noopener">Hosting Anonymous Website on Tor Network</a></h3>
<p>&nbsp;</p>
</div>
<footer class="px py pz qa qb qc qd qe qf ab q qg gs c">
<div class="l ae">
<div class="ab ca">
<div class="ch bg dx dy dz ea">
<div class="ab co qh">
<div class="ab q jh">
<div class="qi l">
<div class="ab q jh">
<div class="pw-multi-vote-icon go ho ji jj jk">
<div class="jl ao jn abs abt jr am js jt ju jk"></div>
</div>
<div class="pw-multi-vote-count l jv jw jx jy jz ka kb">
<div>
<div class="bl" aria-hidden="false" aria-describedby="168" aria-labelledby="168"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
