5

How To Host on the Dark Web within the Onion/Tor Network (Free)

 4 years ago
source link: https://hackernoon.com/how-to-setup-a-site-on-the-dark-web-within-the-oniontor-network-free-qe3p33ua
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Installing & Configuring nginx

The role of

nginx
is to serve the HTML files and assets (act as a web server).
0 reactions
apt update
apt install nginx

The above commands will update the server & install

nginx
. To start the
nginx
server
0 reactions
service nginx start

To check the status of the

nginx
server
0 reactions
service nginx status

To confirm if the

nginx
server is working. We will make a
GET
request to the server using
curl
. Before that, you'll need to know what is your IP address.
0 reactions
ifconfig

The output will be similar to this

0 reactions
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 134  bytes 21230 (21.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 134  bytes 21230 (21.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp9s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet your-ip-address  netmask 255.255.255.0  broadcast ###.###.#.###
        inet6 ####::####:####:####:####  prefixlen 64  scopeid 0x20<link>
        ether ##:##:##:##:##:##  txqueuelen 1000  (Ethernet)
        RX packets 6379  bytes 8574482 (8.5 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3518  bytes 506008 (506.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK