Static host limits that matter for an exported site
Check four limits before you pick a host: how many redirects it allows, how many header rules, how it handles unknown URLs, and whether it serves HTTPS directly. Cloudflare Pages caps redirects at 2,000 static and 100 dynamic, Amazon S3 allows 50 routing rules, and the S3 website endpoint is HTTP only.
By WebExport team · Last reviewed
Key facts
- Cloudflare Pages _redirects allows 2,000 static and 100 dynamic redirects, and _headers allows 100 rules.
- Amazon S3 routing rules are limited to 50 per website configuration.
- Without a 404.html, Cloudflare Pages answers unknown paths with index.html.
- Vercel bulk redirects need a Pro or Enterprise plan, and they accept up to 1,000,000 per project.
The limits side by side
These numbers come from each host’s documentation as read on the date of this post. Limits change, so use the linked pages for current values. Entries marked unconfirmed are standard behavior that the pages we read did not state.
| Host | Redirects | Headers | Unknown URLs | HTTPS |
|---|---|---|---|---|
| Vercel | vercel.json redirects: no limit stated on the pages we read. Bulk redirects: Pro and Enterprise only | headers in vercel.json | Serves 404.html from the project root on a static deployment (unconfirmed in the docs we read) | Yes |
| Netlify | _redirects or netlify.toml, first match wins | _headers or netlify.toml, applies to files served from Netlify storage | 404.html in the publish directory (not confirmed in the pages we read) | Yes |
| Cloudflare Pages | 2,000 static and 100 dynamic, 1,000 characters each, default status 302 | 100 rules, 2,000 characters per line | A top-level 404.html is needed, otherwise index.html is returned | Yes |
| Amazon S3 | 50 routing rules, plus per-object redirects | None on the website endpoint | An error document, for 4XX responses only | No on the website endpoint, so use CloudFront |
| Nginx | No platform limit. 10 internal redirects per request before an error | add_header and expires in config | error_page in config | Your certificate setup |
How to check your own numbers
- Count the files and find the largest ones in your export.
- Count the redirects you plan to ship, and split them into exact paths and patterns.
- Compare the totals with the table above, and with each host’s current limits page.
- If you are over a limit, pick the fix below before you deploy.
find exported-site -type f | wc -l
find exported-site -type f -size +25M
wc -l redirects.txtWhat to do when you hit a limit
| Host | Problem | Fix |
|---|---|---|
| Cloudflare Pages | More than 2,100 redirects | Cloudflare points to Bulk Redirects. Replace many single lines with a pattern rule where the pattern is exact |
| Cloudflare Pages | A file larger than 25 MiB | Compress or split it, or host it somewhere else and link to it |
| Amazon S3 | More than 50 routing rules | Create one redirect object per old key with x-amz-website-redirect-location |
| Amazon S3 | Need HTTPS and headers | Put CloudFront in front of the website endpoint |
| Vercel | A very large redirect list | Use bulk redirects on Pro or Enterprise, or reduce the list with patterns |
Host-specific guides show the exact files. Start with Webflow on Cloudflare Pages or Squarespace on Amazon S3, which cover the two limits that people hit first.
What can go wrong
- Treating a limit as a hard rule when the docs changed. Read the host’s current page before you rely on a number.
- Missing that the Cloudflare Pages default redirect status is 302. A permanent move needs 301 written out.
- Assuming a 404.html exists. On Cloudflare Pages, a missing one turns every broken URL into your home page with a 200 status.
- Forgetting that S3 serves only HTTP on its website endpoint.
Frequently asked questions
Which host has the highest redirect limit?
It depends on the plan and feature. Nginx has no platform limit, Vercel bulk redirects reach 1,000,000 per project on paid plans, and Cloudflare Pages _redirects stops at 2,100.
Where do I find current limits?
On each host’s own pages, linked at the end of this post. Numbers in blog posts go out of date, which is why each one carries a review date.
Do these limits apply to the Free WebExport plan?
They apply to the host you choose, not to WebExport. WebExport’s own limits are 15 pages and 20 MB per export on Free, and unlimited pages and 2 GB on Professional.
How do I choose a host?
The host comparison lists deploy, redirects, headers and forms, and the Static Hosting Picker asks five questions.
Official documentation
- Cloudflare Pages docs: redirects
- Cloudflare Pages docs: headers
- Cloudflare Pages docs: serving pages
- Cloudflare Pages docs: limits
- Amazon S3 docs: configuring a webpage redirect
- Amazon S3 docs: website endpoints
- Vercel docs: bulk redirects
- Netlify docs: redirects and rewrites
- nginx docs: ngx_http_core_module
Free tools for this job
- Static Hosting PickerAnswer 5 questions and get the best hosting recommendation for your exported site.
- Static Site Hosting Cost CalculatorCompare hosting costs: Webflow vs Vercel vs Netlify vs Cloudflare Pages at scale.
- Redirect Map BuilderBuild an old-to-final redirect mapping from URL lists.
- HTTP Header SEO InspectorInspect SEO-relevant HTTP headers for URL lists in bulk.
Try it on your own site
Paste your public site URL into the export form and download a ZIP of static files. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.