Yes, you can serve downloadable .pdf files in Webflow using your custom domain, but there are limitations based on how Webflow handles file hosting.
1. Hosting PDFs in Webflow
- When you upload a PDF to the Webflow Assets panel, Webflow hosts the file on their CDN (usually with a webflow.com or global-uploads.webflow.com URL).
- Even if your site uses a custom domain, the direct file URL still points to the Webflow CDN domain, not your custom domain.
2. Using Custom Domain for PDFs via Page Redirect
- Webflow does not natively support file downloads hosted at your custom domain URL, but you can work around this.
- Create a Webflow page on your custom domain, such as
/download-brochure
, and place a download link or auto-redirect script to the actual PDF URL. - This means users visit a custom domain page that routes them to the PDF, though the final download link will still show the CDN domain.
3. Alternative: Use Third-Party Hosting with Your Domain
- Host your PDFs through an external server or CDN that allows custom domain mapping, such as:
- Amazon S3 + CloudFront
- Google Cloud Storage + Cloud CDN
- Firebase Hosting
- Point a subdomain like
files.yourdomain.com
to the external service and upload PDF files there. - Then, serve files with clean URLs like
https://files.yourdomain.com/downloads/example.pdf
.
4. Limitations
- Webflow does not allow custom domain mapping for file asset URLs directly.
- Asset URLs will always be routed through Webflow's global-uploads CDN, even if your website uses a custom domain.
Summary
While Webflow does not let you serve PDFs directly from your custom domain, you can use a custom page as a redirect or host the PDFs externally on a service that allows custom domain files delivery. This ensures a more branded experience when sharing file download links.