Using Cloudflare with Traxio hosting
How to put Cloudflare in front of a Traxio site: DNS records to create, the right SSL mode, keeping email records unproxied, and avoiding redirect loops.
On this page
Cloudflare can sit between visitors and your Traxio site as a CDN and security layer. It’s the only CDN Traxio supports. It works well once DNS, SSL and email are set up correctly.
What changes
Cloudflare becomes your domain’s DNS provider. Your nameservers point to Cloudflare, so DNS records are managed at Cloudflare, and Account Manager › DNS Management in DirectAdmin no longer affects the live domain.
1. Note your current records
Before switching, list the records from Account Manager › DNS Management: A records, mail, MX, SPF, DKIM (x._domainkey) and DMARC. Cloudflare’s import usually finds most of them, but check each one.
2. Set the proxy status correctly
| Record | Proxy |
|---|---|
@ and www A/CNAME | Proxied (orange cloud) |
mail A record | DNS only (grey cloud) |
| MX, TXT | Not proxyable |
| Anything used for FTP, SFTP (port 26628) or DirectAdmin (port 2222) | DNS only |
Cloudflare’s proxy only carries web traffic. Proxying mail breaks email apps.
3. Choose the SSL mode
Set SSL/TLS encryption mode to Full (strict). It requires a valid certificate on your Traxio site.
- Flexible connects to your site over plain HTTP and, combined with an HTTPS redirect on your site, causes an endless redirect loop. “Too many redirects” and HTTPS redirect loops
4. SSL certificate renewal
Your site’s own certificate must stay valid for Full (strict) to work. Free certificate renewal needs to reach your site over the web; with Cloudflare proxying, most renewals still succeed. If your certificate expires, temporarily set the @ and www records to DNS only, let it renew, then re-enable the proxy. SSL certificate not issued or not renewing
5. Caching
Cloudflare caches static files by default. If you change CSS or images and don’t see the update, purge Cloudflare’s cache. For WordPress admin pages, make sure no rule caches /wp-admin/ or logged-in pages.
Prefer to follow along?
- Find out why a website is slow
Intermediate · 40 min
Common questions
Can I use Cloudflare with Traxio?
Yes. Cloudflare is the only CDN and proxy Traxio supports, and the free plan works well. You point your domain’s nameservers at Cloudflare instead of Traxio, then make sure the A record in Cloudflare points at your Traxio server.
Two things to get right:
- Point the record at Traxio. The record behind the proxy must point at your Traxio server. If it points somewhere else, your site won’t load from Traxio.
- Set SSL to Full (strict) in Cloudflare once your Traxio certificate is issued. The “Flexible” setting causes redirect loops.
Where are Traxio’s servers?
In a data centre in Montreal, Canada, on Traxio’s DirectAdmin hosting platform. Traxio itself is a UK business.
Every Traxio account is hosted on the same DirectAdmin platform, so there’s no location to choose. Traxio itself is a UK business, run by a sole trader.
Server location affects the time it takes for the first byte to travel, measured in tens of milliseconds; page weight, caching and image sizes usually affect load time far more.
If you want content served from somewhere physically closer to your visitors, Cloudflare’s free plan caches your pages in its own network worldwide. Cloudflare is the only proxy or CDN Traxio supports.
What is a DDoS attack?
A DDoS attack floods a site with traffic from many machines at once so real visitors cannot get through. It is a availability attack, not a break-in — nothing is stolen, the site simply stops responding.
This is a general web-hosting explanation, not specific to Traxio.
Small sites are rarely targeted deliberately; what they usually see is aggressive bot traffic that behaves similarly. Putting Cloudflare in front of the site is the practical defence available on shared hosting, and the free plan includes it.
What do Cloudflare errors 521, 522 and 1016 mean?
They all mean Cloudflare could not reach your server. 521 is the server refusing the connection, 522 is a timeout, and 1016 means the DNS record in Cloudflare points at a host that does not resolve — usually a wrong or leftover A record.
Check the A record in Cloudflare points at your Traxio server.
Spotted something out of date or unclear? Tell us and we’ll fix it.