How To Setup V2Ray VMess Proxy Server On A VPS, Domain Name, Nginx, SSL Certificate, & Qv2ray Client @Websplaining
How To Setup V2Ray VMess Proxy Server On A VPS, Domain Name, Nginx, SSL Certificate, & Qv2ray Client  @Websplaining
Uploaded March 2023 | Updated December 2026, 1 day ago
In this video, you will learn how to make a V2Ray VMess proxy server with a virtual private server (VPS) or cloud server, domain name, NGINX web server, Certbot to get a Let's Encrypt SSL Certificate for HTTPS:// encryption. and Qv2ray client.

I may earn a commission if you use the links below to sign up, at no extra cost to you.
🔵Free $200 DigitalOcean cloud credits using my affiliate link: websplaining.com/digitalocean
🟠Get a discounted Namecheap .COM domain name: namecheap.pxf.io/c/1245219/408750/5618

How To Get $200 In Free DigitalOcean Cloud Credits youtu.be/9QE7zbyc6Ek

Bash script for installing V2Ray github.com/v2fly/fhs-install-v2ray

UUID Generator uuidgenerator.net

Qv2ray Client github.com/Qv2ray/Qv2ray/releases

V2Ray Client Config Files github.com/v2fly/v2ray-core/releases/tag/v4.45.2

How To Install PuTTY On Windows youtu.be/0ptZPTTwRaE

How to use WinRAR on Windows PC youtu.be/bnM-WhO-ZPk

Steps To Setup A V2Ray Proxy Server:

1. Spin up a DigitalOcean droplet websplaining.com/digitalocean
2. Buy a Namecheap domain name namecheap.pxf.io/c/1245219/408750/5618
3. Point your Namecheap domain name to DigitalOcean's DNS
4. Copy and paste each command below and each V2Ray/Nginx server/client side configuration information.

Commands:

apt-get update

bash ⬅️(curl -L raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

Note 1: Replace ⬅️ with the "less-than sign" on your keyboard or copy the command from github.com/v2fly/fhs-install-v2ray

systemctl enable v2ray
systemctl start v2ray
systemctl status v2ray
cd /usr/local/etc/v2ray
ls
nano config.json
cd
apt-get install nginx -y
apt-get install certbot python3-certbot-nginx
certbot --nginx
cd /etc/nginx/sites-available
ls
rm default
ls
nano default
cd
nginx -t
systemctl restart nginx
systemctl status nginx
systemctl restart v2ray
systemctl status v2ray

Note 2: Type the letter “q” on your keyboard if you see (END) and can't type the next command after checking the the status of v2ray or nginx.

V2Ray Server Side config.json (replace the UUID with yours):

{
"inbounds": [
{
"port": 10000,
"listen":"127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "0446e7c7-b95d-45f8-a813-8fd9426cbe4e",
"alterId": 0
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/v2ray"
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}


Nginx default file (replace bypass.domain.com with your domain name:

server {
listen 80;
server_name bypass.domain.com;
return 301 https://bypass.domain.com$request_uri;
}

server {
listen 443 ssl;
server_name bypass.domain.com;

ssl_certificate /etc/letsencrypt/live/bypass.domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/bypass.domain.com/privkey.pem;

include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

location / {
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
}

location /v2ray {
if ($http_upgrade != "websocket") {
return 404;
}
proxy_redirect off;
proxy_pass http://127.0.0.1:10000;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;

​# Show real IP in v2ray access.log
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}


V2Ray Client Side Config (replace bypass.domain.com and UUID with your domain and UUID respectively):

{
"inbounds": [
{
"port": 1080,
"listen": "127.0.0.1",
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
},
"settings": {
"auth": "noauth",
"udp": false
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "bypass.domain.com",
"port": 443,
"users": [
{
"id": "0446e7c7-b95d-45f8-a813-8fd9426cbe4e",
"alterId": 0
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"wsSettings": {
"path": "/v2ray"
}
}
}
]
}

⌚:
0:00 - Intro
0:48 - Setup VPS, Buy Domain, & Point DNS
9:16 - Configure V2Ray Server Side
15:15 - Configure NGINX & Get HTTPS
22:38 - Configure V2Ray Client Side
29:58 - Outro

NGINX nginx.com
Project V (V2Ray) v2ray.com/en/index.html
Project V (V2Fly) v2fly.org/en_US
Certbot certbot.eff.org
Let’s Encrypt letsencrypt.org

#V2Ray #VMESS #Proxy
How To Setup V2Ray VMess Proxy Server On A VPS, Domain Name, Nginx, SSL Certificate, & Qv2ray ClientHow to turn on Two-step verification on WhatsApp AndroidHow to add an Email address to WhatsApp account on AndroidDeploy GitLab on Kamatera VPS and push code to a repository with Git version controlHow to Setup a Contabo cloud server or virtual private server (VPS) - step by step tutorialHow to get $300 in Free Vultr cloud credits and deploy your first VPSHow Login Into A Kamatera Server Using The Built In Console (CLI) Via SSHHow To Make A WGDashboard Server For WireGuard VPN On DigitalOceanHow To Create Your First Cloud Server Or Virtual Private Server (VPS)How to toggle off or on Typing indicators on Signal AndroidHow To Make An OpenVPN Access Server With Web-Based User Interface (UI) On DigitalOceanHow To BitTorrent Using Magnet Links And .Torrent File link Addresses On Ubuntu Linux Terminal (CLI)
Websplaining |

How To Setup V2Ray VMess Proxy Server On A VPS, Domain Name, Nginx, SSL Certificate, & Qv2ray Client

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER