← Back to blogs

How to deploy your own website on tor explain like im 5.

DEV BLOG · TOR · 15/09/25


> this blog assumes you have basic knowledge of linux commands, know what is tor, and have a vps or a local server to host your tor website on. > this is from my twitter thread https://x.com/forloopcodes/status/1967637960196833539

Here's how your website will look on tor network: image of a website

### Step 1. download tor https://torproject.org/download/

### Step 2. download tor services pacman -Sy tor or apt-get install torimage of tor installation

### Step 3: make your site (nextjs, here)

bun create next-app  && cd 
Create Next App

### Step 4: edit page.tsx

nvim app/page.tsx
### Step 5. make the changes to the file

do it by yourself :P ### Step 6. save and close nvim :wq

Edit page.tsx

### Step 7: run the next.js server

bun dev
Run Dev Server

### Step 8: open brave and go to http://[network ip]:3000

Open on Network

### Step 9: open new terminal

open new terminal

### Step 10: some crazy stuff

10. some crazy stuff

### Step 11: what the fuck?

what the fuck?

### Step 12: paste magic stuff ✨✨

HiddenServiceDir /var/lib/tor/hidden_service/ HiddenServicePort 80 [your network ip]:3000
### Step 13: bye nvim

:wq
Step 13

### Step 14: TOR

Step 14

### Step 15: NEW TERMINALLL

Step 15

### Step 16: get ur link yay

cat /var/lib/tor/hidden_service/hostname
Step 16

### Step 17: open tor browser and go to the url

Step 17

### my onion link http://xd4ymk5fhmiku3wcxy4orycxplos5anu6vvxpxpvbqxne3nhpq3xgjad.onion/ follow me on x dot com for more