If the next command outputs active in green you're golden!
+
systemctl status tor
+
+
Now you're server is on the dark web. The following command will give you your onion address:
+
cat /var/lib/tor/hidden_service/hostname
+
+
Adding the Nginx Config
+
+ From here, the steps are almost identical to setting up a normal website configuration file.
+ Follow the steps as if you were making a new website on the webserver
+ tutorial up until the server block of code. Instead, paste this:
+
+
+
server {
+ listen 127.0.0.1:80 ;
+ root /var/www/landchad ;
+ index index.html ;
+ server_name your-onion-address.onion ;
+ }
+
+
+
+ From here we are almost done, all we have to do is enable the site and reload nginx which is also covered in the webserver tutorial.
+
-This will open port 80 and port 443. Port 80 is the canonical webserver port, while 443 is the port used for encrypted connections.
+Port 80 is the canonical webserver port, while 443 is the port used for encrypted connections.
We will certainly need that for the next page.
diff --git a/nginx.html b/nginx.html
index caa4c66..1b269db 100644
--- a/nginx.html
+++ b/nginx.html
@@ -172,7 +172,7 @@ This will appear on your website.
<p>This is my website. Thanks for stopping by!</p>
<p>Now my website is live!</p>
-
Enable the site
+
Enable the site
Once you save that file, we can enable it making a link to it in the sites-enabled directory:
diff --git a/tor.html b/tor.html
index 69166e7..1da2656 100644
--- a/tor.html
+++ b/tor.html
@@ -52,7 +52,7 @@
From here, the steps are almost identical to setting up a normal website configuration file.
Follow the steps as if you were making a new website on the webserver
- tutorial up until the server block of code. Instead, paste this:
+ tutorial up until the server block of code. Instead, paste this:
server {
@@ -68,7 +68,7 @@
The root line is the path to whichever website of yours you'd like to mirror.
- From here we are almost done, all we have to do is enable the site and reload nginx which is also covered in the webserver tutorial.
+ From here we are almost done, all we have to do is enable the site and reload nginx which is also covered in the webserver tutorial.