Yes, it is possible to serve downloadable .pdf files using your custom domain in Webflow. However, there are some limitations and conditions you should be aware of.
1. Upload PDFs to Webflow
- Go to the Webflow Designer and open the Assets panel.
- Click the Upload button to add your
.pdf file. - Once uploaded, you’ll get a file URL (e.g.,
https://cdn.prod.website-files.com/your-site-id/file.pdf).
2. Use File URLs on Your Custom Domain (Limited)
- PDFs hosted by Webflow are served from Webflow’s CDN, not directly from your custom domain.
- This means the actual file download link will always be on the domain
uploads-ssl.webflow.com, not yourcustomdomain.com. - You can link to these PDFs from buttons, text, or other elements on your site, and users can download them—but the download URL will not display your custom domain.
3. Use a Custom Domain for Downloads (Workaround)
If having the download URL itself reflect your custom domain is absolutely required:
- Option 1: Host PDFs externally (e.g., your own server, AWS S3, Dropbox with direct links) where you control the domain/path.
- Option 2: Proxy solution via external hosting
- Set up a subdomain like
files.yourcustomdomain.com. - Use a reverse proxy or redirect rule on an external server to point paths like
files.yourcustomdomain.com/myfile.pdf to the actual Webflow-hosted or third-party file. - Webflow itself does not allow server-side redirects or reverse proxies, so this must be configured outside of Webflow.
4. Recommended Setup if Custom Domain is Required
- Set up a lightweight web server (e.g., on Netlify, Cloudflare Pages, or your own VPS).
- Use that server to:
- Host the
.pdf files directly. - Or act as a proxy to route file requests while showing your domain.
This gives you full control over the download URLs (e.g., https://files.yourcustomdomain.com/brochure.pdf).
Summary
Webflow allows PDF downloads, but they are served from Webflow’s asset CDN, not your custom domain. To display your own domain in download URLs, you need to host or proxy those files outside of Webflow.