All Hosting Guides
Cloudflare PagesNo Git Needed~2 minutes
How to Host Your Portfolio for Free on Cloudflare Pages
Super fast global hosting with unlimited free bandwidth — supports direct folder upload (no Git) for HTML and automatic builds for React.
Before You Start
- Your unzipped & edited 1DP template folder
- A free Cloudflare account (dash.cloudflare.com)
| Template Version | Build Command | Output Directory |
|---|---|---|
| HTML / CSS / JS | None (Direct Upload) | Whole folder |
| React + Vite | npm run build | dist |
1
Open Cloudflare Pages
Sign in at dash.cloudflare.com. In the left menu, click 'Workers & Pages' → 'Create' → switch to the 'Pages' tab.
2
Choose Direct Upload (HTML) or Connect Git (React)
For HTML templates, click 'Upload assets', name your project (e.g. yourname), and drag your unzipped html-css-js folder straight in. For React + Vite, connect GitHub and set Build command to npm run build and Build output to dist.
3
Click Deploy Site
Cloudflare publishes your portfolio worldwide in ~30 seconds at https://yourname.pages.dev with free HTTPS.
Quick tips
- Direct Upload is completely terminal-free — ideal if you just want your HTML portfolio online fast.
- If you buy a custom domain on Cloudflare Registrar, connecting it takes 2 clicks.
Other free hosting guides