How to Set Up a CDN (2026): Without Paying Twice or Breaking Checkout

Disclosure: WebFin is reader-supported. If you buy hosting through links on this page, we may earn a commission at no extra cost to you. Commissions vary between providers and our ratings do not — here’s our full disclosure.

To set up a CDN, first check whether your hosting plan already includes one, because paying twice is an easy mistake to make. Then choose how much traffic goes through the network. Copy your DNS records before changing anything, set the certificate mode correctly, and tell the network which pages it must never cache. That last step matters most for stores, because a cached checkout can show one customer’s cart to another. Caching before a spike is covered in how to handle a traffic spike.

How to Set Up a CDN: The Short Answer

Check your plan for a built-in network. If there is none, point your nameservers at a CDN that proxies the whole site, or add a CDN subdomain for images, scripts and styles. Copy every DNS record first, use full certificate checking rather than flexible, exclude carts, checkouts and account pages from caching, then test from several locations.

Compare Hostinger Tiers →
The content network that moves Premium from 495 ms to 223 ms sits on the Business tier. Premium renews at $10.99 after 48 months.

Step 1: Check Whether You Already Have One

Several hosts include a content network, and they describe it in different words, which is how people end up paying twice. Kinsta and Rocket.net ship Cloudflare Enterprise on every plan. Hostinger builds its own network and puts it on Business but not on Premium. That is why the benchmark project we cite records Premium at 495 ms globally and Business at 223 ms.

Others sell it separately. Cloudways offers its edge network as an add-on, as our Cloudways review notes. GreenGeeks advertises Cloudflare integration on all plans, and the same benchmark project reports finding no integrated network, as our GreenGeeks review records. Check your own dashboard rather than the plan page. Our Hostinger review shows what the difference between two tiers looks like in practice.

⚠️ If your plan includes a network, turn it on and stop here. Adding a second CDN in front of the first usually makes caching harder to reason about and rarely makes anything faster.

HostMeasurementSource and date
WP EngineGlobal TTFB 65 ms, 1st of 34 hostsHostingstep, 2025 ranking, 40 locations
WP EngineUS TTFB 365 ms across 22 locationsHostingstep, 2025 ranking
WP EngineTTFB 355 ms, 349,920 checksHostingstep, Oct 2025 – May 2026
WP EngineUptime 99.976%, 10th of 14 managed hostsStudy of 14 managed hosts, 2026
WP EngineLoad 27 ms at 0% errorsHostingstep, 2026 benchmarks
Rocket.netCached TTFB 85 ms globally12-month test, Mar 2025 – Mar 2026
Rocket.netOrigin TTFB 310 ms; checkout bypasses cacheSame 12-month test
Rocket.netUptime 99.97%, seven outages in the windowHostingstep, Oct 2025 – May 2026
Rocket.netHardware score fell 8.5 → 7.5; not recommendedHostingstep, 2026, tracked since Oct 2020
Hostinger BusinessGlobal TTFB 223 ms, 5th of 34 hostsHostingstep, 2026
Hostinger PremiumGlobal TTFB 495 ms, 28th of 34; no CDNHostingstep, 2026
HostingerTTFB 707 ms; server response 246 msCybernews, June 2026
HostingerUptime 99.99%, 33 min down in 2025Hostingstep, continuous since 2021
HostingerUptime 99.93%, 6-month windowHostPro Reviews, 2026
HostingerLCP 0.607 s, 2nd of 15 hostsTechRadar, 10-week window, 2026
BluehostHardware score 9.6 of 10Hostingstep, 2026
BluehostLoad 41 ms at 0% errors after the Oracle moveHostingstep changelog, 9 Jul 2026
BluehostResponse 411 ms; uptime 99.99% across 9 outagesHostingstep, Nov 2025 – Aug 2026
BluehostGlobal TTFB 224 ms across 40 locations, cachedHostingstep Bluehost review, Jul 2026
HostGatorGlobal TTFB 1.23 s; uptime 99.68%; 762 ms at 500 usersHostingstep HostGator review, 2026
HostGatorHardware joint-highest in the field after the Oracle moveHostingstep, 1 Sep 2026 update
ChemiCloudUS TTFB 531 ms; global 460 msHostingstep, Oct 2025 – May 2026
ChemiCloudLoad 1,068 ms at a 4.2% error rateHostingstep, same window
ChemiCloudUptime 99.76%; overall 6.1 of 10, degradingHostingstep, tracked since 2021
GoDaddy sharedTTFB 751 ms; load test did not completeHostingstep, Nov 2025 – Jun 2026
GoDaddy sharedUptime 99.76%Hostingstep, Nov 2025 – Jun 2026
GoDaddy Managed WordPressTTFB 344 ms; hardware 3.8 of 10Hostingstep, 2026
GreenGeeksTTFB 395 ms North America, 447 ms EuropeLong-term independent testing, 2026
GreenGeeksTTFB 580–610 ms Asia and AustraliaSame testing window
GreenGeeksLoad 26 ms at 0% errors; WPBench 5.0 of 10Hostingstep, 2026
GreenGeeks25 outages in the window; no integrated CDN foundHostingstep, 2026
KinstaOrigin TTFB 525 ms; edge figures differHostingstep, 2026
KinstaLoad 40 ms at 0% errors; WPBench 8.8 of 10Hostingstep, 2026 reviews
DreamHostTTFB 450–500 ms bandHostingstep, 2026 benchmarks
Scala HostingUptime 99.97% across twelve monthsLive site, 40,000 monthly visitors, UptimeRobot
Scala Hosting29 ms at the 95th percentile, 50 usersk6 load test, 2026
InterServerUptime 99.98% across eighteen monthsSix production sites, UptimeRobot
InterServerLoad under 700 ms; under 1.5 s by another sourceTwo 2026 reviews
A2 HostingTTFB 150–198 ms2026 studies; LiteSpeed on Turbo tiers
IONOSGlobal TTFB 480 ms; WPBench 7.2 of 10Hostingstep, 2026 benchmarks
IONOSUptime 99.99%; load test failed at 65.4% errorsHostingstep, 2026 benchmarks
NamecheapTTFB 461 ms; global 448 ms; WPBench 5.0Hostingstep, Q4 2025; monitoring paused 30 Jun 2026
InMotionTTFB 300–500 ms sharedPublished measurement, 2026
InMotionUptime 99.97–99.99%; one account near 99.5%Several 2026 sources
HostwindsNo independent measurement found99.9999% is the company's own claim
Liquid WebNot covered by the benchmarks we citeVPS and dedicated are outside their scope
SiteGroundTTFB 632 ms; 22nd of 34 hostsHostingstep, 2026 benchmarks
SiteGroundUptime 99.96% in 2025; 193 min over 44 outagesHostingstep, full year 2025
SiteGroundWPBench 8.4 of 10; load 170 ms at 0% errorsHostingstep, Oct 2025 – May 2026
Scala HostingTTFB 465 ms; global 501 msHostingstep, 2026 benchmarks
Scala HostingWPBench 8.8 of 10; load 48 ms at 0% errorsHostingstep, 2026 benchmarks
Scala HostingUptime 99.98% across the yearHostingstep, 2026 benchmarks
CloudwaysVultr HF: load 288 ms at 1.7% errors; WPBench 7.6Hostingstep Cloudways review, 2026
CloudwaysUptime 99.996% to 99.999% across five plansHostingstep, Oct 2025 – May 2026
Independently published speed and uptime figures. We do not run our own tests, so every row names the publication and the date it measured.
Which hosting plans include a content network and which sell it separately

Step 2: Choose How Much Goes Through It

Full proxy. You point the domain’s nameservers at the CDN, and every request passes through it. The network can cache pages as well as files, and it can filter unwanted traffic before it reaches your server. This is how Cloudflare’s free plan works, and it is the most complete option.

Files only. You create a subdomain such as cdn.example.com that pulls images, scripts and styles from your site, and a plugin rewrites those links. Your DNS stays where it is. It speeds up heavy pages with less risk, and it does nothing for the HTML itself.

For a WordPress site the full proxy can give the larger gain, because it can cache the page itself as well as its files, which shortens the wait for the first byte. Our guide to reducing TTFB explains where that time goes.

A free plan is enough for many small sites. Paid tiers can add caching of whole pages rather than only files, image optimization and finer control over rules. Start with the free tier, measure, and pay only for a feature whose absence you can point to in the numbers.

Step 3: Copy Your DNS Records First

A full proxy takes over DNS, and it imports your existing records automatically. It does not always import all of them. Before switching nameservers, export or screenshot every record at your current DNS provider, then compare the imported list against it line by line.

The records that go missing are the quiet ones: MX for email, TXT for SPF and DKIM, and verification records for services you connected years ago. Keep mail records unproxied, because a CDN proxies web traffic, not email. Our guide to pointing a domain to a new host covers the same care in more detail.

See Kinsta Plans →
Cloudflare Enterprise included on every plan, so there is nothing to set up. Starter is $35.00 a month flat.

Step 4: Set the Certificate Mode Correctly

A proxying CDN holds a certificate for visitors and connects to your server separately. The safe setting checks that your server also has a valid certificate, which most hosts issue free. The flexible setting sends traffic from the CDN to your server unencrypted, which is weaker and often causes redirect loops on WordPress sites that force HTTPS.

So confirm that your host has issued a certificate first, then choose the strict or full mode that validates it. If the site starts redirecting endlessly after the switch, this setting is the first thing to check. Our guide to installing an SSL certificate covers the host side.

Step 5: Decide What Must Never Be Cached

The network can keep images, scripts and styles for a long time. It can keep ordinary pages too, as long as you clear the cache when you publish. Some pages it must never keep at all. Those are carts, checkouts, account areas, the WordPress admin and anything that shows a logged-in user their own data.

⚠️ Getting this wrong is worse than having no CDN. A cached checkout can show one customer’s basket to another. Most WordPress integrations handle the common cases, but check the rules yourself on a store. Our guide to WooCommerce hosting explains which store pages bypass the cache and why.

Step 6: Test From More Than One Place

Load the site from a network you do not normally use, and check the response headers. Most CDNs add a header saying whether a request was a hit, served from the cache, or a miss, fetched from your server. A page that always misses is not reaching the cache, and the rules need another look.

Then measure first-byte time from several regions before and after, using the same pages. A working network should narrow the gap between nearby and distant visitors far more than it speeds up visitors close to your server. That gap is the thing you are paying to close.

Six steps for setting up a content network in the order that avoids breaking the site

What to Do If It Does Not Work

The site redirects endlessly. The certificate mode is set to flexible while WordPress forces HTTPS. Switch to full or strict mode.

Email stopped after the nameserver change. An MX or TXT record was not imported, or a mail record was proxied. Restore it exactly as it was, unproxied.

Visitors see an old version of a page. The cache was not cleared after an update. Purge it, and set your WordPress integration to purge on publish.

Logged-in users see someone else’s content. A private page is being cached. Add a rule that bypasses the cache for logged-in sessions and for cart and account pages at once. If the site is down entirely, our guide to fixing a website that is down starts with the DNS check.

Pages that can be cached and pages that must always bypass the content network

How We Research

This guide describes procedures rather than measurements. Our list of which hosts include a network comes from the providers’ pages and the benchmark project we cite, read on 20 September 2026. The same sources show which sell it as an add-on and which advertise one the testers did not find. The Hostinger figures come from Hostingstep’s 2026 benchmarks.

We name settings generally, because each CDN labels them slightly differently. The criteria behind our scores are on our about page. Our Rocket.net review and our Kinsta review cover two hosts that include an edge network on every plan.

CDN Setup FAQ

Does my hosting plan include a CDN?

Possibly. Kinsta and Rocket.net include Cloudflare Enterprise on every plan, and Hostinger includes its own network on Business but not Premium. Cloudways sells its edge network as an add-on. Check your dashboard, because plan pages and dashboards often use different names for it.

Will a CDN make my site faster?

For visitors far from your server, usually a great deal; for visitors nearby, less. The benchmark project we cite records Hostinger Premium at 495 ms globally without a network and Business at 223 ms with one. Pages that cannot be cached gain little.

Why does my site redirect endlessly after adding a CDN?

The certificate mode is usually set to flexible while WordPress forces HTTPS. Make sure your host has issued a certificate, then switch the CDN to its full or strict mode so it connects to your server over HTTPS.

Why did my email stop after switching nameservers?

An MX or TXT record was not imported, or a mail record was set to be proxied. Copy every record before switching, compare the imported list, and keep mail records unproxied.

Can I use a CDN on an online store?

Yes, with care. Cache images, scripts and ordinary pages, and never cache carts, checkouts, account pages or logged-in sessions. A cached checkout can show one customer’s basket to another.

The Verdict

Setting up a CDN is mostly about avoiding three mistakes. Do not pay for one you already have, do not lose DNS records in the switch, and do not cache pages that belong to one visitor. Check your plan, copy the records, choose the strict certificate mode, write the bypass rules, and test from somewhere far away.

Suppose your plan does not include a network and your readers are spread across the world. Then a host that does may be cheaper than adding one yourself. Our list of hosting for bloggers weighs that for content sites, and our roundup of hosting for high traffic covers busy ones.

See Rocket.net Plans →
Cloudflare Enterprise in front of every site on every plan. Starter renews at $30.00 a month over 12 months.
Scroll to Top