Create Subdomains

To secure inbound connections that require a TLS certificate, we should create a subdomain and point it to the IP address of our VPS server for each inbound.
After obtaining the necessary certificates, we will enable the cloud icon for WebSocket traffic that can be routed over the CDN.

Some examples:

Trojan TLS over TCPtrojan.example.com

Trojan TLS WebSocket CDN (IPv4) → trojan-ws.example.com

Trojan TLS WebSocket CDN (IPv6) → trojan-ws-6.example.com

VMess TLS over TCPvmess-tls.example.com

VMess over WebSocket-> vmess.example.com

VMess TLS WebSocket CDN (IPv4) → vmess-ws.example.com

VMess TLS WebSocket CDN (IPv6) → vmess-ws-6.example.com

You need to create an A record for every IPv4 and an AAAA record for every IPv6.

It is possible to use your server’s IPv6 address to route traffic through a CDN (Content Delivery Network) even if your Internet Service Provider (ISP) does not support IPv6.

This is because the CDN will act as a proxy, allowing you to use IPv6 for connecting to your server.