Cloudflare integration
Use Cloudflare DNS and proxying correctly with websites and game servers on LordCloud.
1 min read
On this page
Cloudflare can be your DNS provider and a reverse proxy for websites. The key is knowing when to proxy.
Proxy status: orange vs grey cloud#
| Record for… | Proxy status | Why |
|---|---|---|
| Website (HTTP/HTTPS) | Proxied (orange) | Caching, WAF, hides your origin IP |
| Minecraft or another game server | DNS only (grey) | The standard proxy only carries HTTP(S); game traffic breaks |
| SSH or a VPS hostname | DNS only (grey) | SSH can't pass through the HTTP proxy |
| Mail (MX targets) | DNS only (grey) | Mail must reach the server directly |
SSL mode for websites#
In Cloudflare → SSL/TLS:
- Full (strict) — recommended. Requires a valid certificate on your origin (SSL installation).
- Avoid Flexible — it leaves the Cloudflare-to-server connection unencrypted and often causes redirect loops.
Origin IP leaks#
Proxying hides your website's IP only if nothing else reveals it. Watch out for:
- A grey-cloud record (such as
mailorftp) on the same IP. - Old DNS history from before you used Cloudflare.
Real visitor IPs#
Behind Cloudflare, your server sees Cloudflare's IPs. Use the CF-Connecting-IP header — for example Nginx's real_ip module with Cloudflare's published IP ranges — so logs and rate limits see the real visitor.
Was this page helpful?
