banner
0x7c26

0x7c26

Probably Nothing.

How to set up TON Sites

Glossary:

  1. UDP, TCP -- Protocols (used when opening ports)
  2. SSH -- Terminal, command line, used to control your server
  3. ISP -- Your server provider (e.g. Alibaba Cloud, Tencent Cloud...)
  4. Debian -- A Linux system
  5. Reverse Proxy -- Essential tool for binding domain names (e.g. Nginx...)

Preparation:

  1. Public IP server
  2. Using Debian system (this tutorial is only suitable for Debian system)
  3. Open ports 11893 (UDP) and 22 (TCP)

Steps:

  1. Connect to your server using SSH (usually provided by ISP through a web interface)
  2. Enter the command apt update -y This command is used to update system software
    Wait for the command to complete
  3. Enter the command apt install wget tmux -y This command will be used later
    Wait for the command to complete
  4. Enter the command wget https://github.com/ton-utils/reverse-proxy/releases/latest/download/tonutils-reverse-proxy-linux-amd64 This command is to download TON reverse proxy (similar to Nginx)
    Wait for the command to complete
  5. Enter the command chmod +x tonutils-reverse-proxy-linux-amd64 This command gives execute permission to the file downloaded in step 4
  6. Enter the command tmux new -s tonsite (run in the background)
  7. Enter the command ./tonutils-reverse-proxy-linux-amd64 --domain YourDomainHere
    For example: ./tonutils-reverse-proxy-linux-amd64 --domain cedricchien.ton
  8. After execution, a QR code will appear, scan it with TONKeeper and send a transaction (used to adjust the server bound to your domain name)
  9. Finally, enter the command tmux detach (in simple terms: run in the background)

##Note:

  1. Your website needs to be accessible on port 80 (or 443 depending on the situation before writing the tutorial)
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.