Direct is fast and shows the IP, a CDN is steadier and takes a detour. One table, and how to have both with Direct for everyday.
With the first domain the panel asks how it is set up. The answer decides the path of the data and whether it survives a block.
Like parcels: direct means to your door, fast, and everyone knows where you live; CDN goes through a pick-up point, slower, with your address hidden. Neither is always better.
The difference
| Direct | CDN | |
|---|---|---|
| Path | You to the server | You to a CDN node to the server |
| Delay | Low | Higher |
| Speed | The server's route | Wherever the CDN puts you |
| Server IP | Visible | Hidden |
| After an IP block | Down | Still works |
| Protocols | All | Only over WebSocket, gRPC, HTTPUpgrade, XHTTP |
| Reality | Yes | No |
| Hysteria2, TUIC | Yes | No, they use UDP |

Have both
The calmest setup is one Direct and one CDN domain. The app tests them and takes the fast one; when the IP is blocked the direct ones stop answering and it falls back.
- a.example.comDirect, grey, everyday
- b.example.comCDN, orange, reserve
- s.example.comSubscription only, orange, links
Three common slips
- Orange with Direct: the panel checks the record, finds another IP and refuses.
- Grey with CDN: that publishes the IP you meant to hide. Refused too.
- Testing at once: records need minutes to spread.

Cloudflare's terms
A CDN is for websites, and a lot of other traffic may break the terms and limit the account. A reserve domain used now and then is one thing, dozens of people watching video every day another.
Which one am I using
nslookup a.example.com
nslookup b.example.comThe server's IP means direct; an unknown address owned by Cloudflare means CDN. Trust the result, not the colour of the cloud.
Why CDN speed varies
A CDN has hundreds of locations and your provider's route decides which one you get. The same domain may land next door or on another continent, so both "fast" and "terrible" are true. You can enter a better CDN address for your users in the panel's domain settings; test it yourself, others' results need not fit.
What CDN nodes need
- Transport WebSocket, gRPC, HTTPUpgrade or XHTTP.
- A supported port; for Cloudflare https: 443, 2053, 2083, 2087, 2096, 8443.
- SSL/TLS mode Full or Full (strict).
- For gRPC, switch it on under Network.
Miss one and you only see timeouts.
The day direct stops
All direct nodes are red. Test 443 from a mobile network and from abroad: fine abroad and dead at home means the IP is blocked.
- Check the CDN domainUpdate your own subscription
- Ask everyone to updateNo new links
- Ask the host for a new IPMinutes to hours
- Change the DNSThe direct domain to the new IP
With a CDN domain prepared, users may not notice at all.
The subscription-only domain
If the subscription link is blocked nobody can update. A domain behind a CDN that only serves subscriptions carries no traffic and lives longer. Set it to Subscription only and it will not appear in nodes.
Costs
Direct needs only the server. CDN works with a free plan and one domain of your own; subdomains cost nothing.
The ping through a CDN is tiny. Is it faster?
No. That is the ping to the nearest node; the data still goes on to the server.
The IP is blocked already. Is it too late?
No, as long as the server is up.
Free subdomains behind a CDN?
Cloudflare needs control of the domain's NS, which most free ones do not give.
Does a direct domain need a certificate?
Not with Reality. With TLS the panel gets one by itself.
A CDN that requires registration and forbids this use?
Do not; read the terms of the one you choose.


