Minimal static site for debugu.xyz.
index.html: the siteREADME.md: project notes and deployment steps.gitignore: ignores local macOS metadata
From this folder:
python3 -m http.server 8788Then open http://127.0.0.1:8788/.
Recommended: Git integration
- Push this repo to GitHub.
- In Cloudflare, go to
Workers & Pages. - Select
Create application>Pages>Connect to Git. - Choose the
debuguGitHub repository. - Use these settings:
- Framework preset:
None - Build command: leave blank
- Build output directory:
. - Production branch:
main
- Framework preset:
- Select
Save and Deploy.
Optional: Direct Upload with Wrangler
Cloudflare's current Pages Direct Upload docs say to create a project with npx wrangler pages project create and deploy with npx wrangler pages deploy <BUILD_OUTPUT_DIRECTORY>.
npm install --save-dev wrangler
npx wrangler login
npx wrangler pages project create
npx wrangler pages deploy .In Cloudflare Pages:
- Open the
debuguPages project. - Go to
Custom domains. - Select
Set up a domain. - Enter
debugu.xyz.
Important:
- For an apex domain like
debugu.xyz, Cloudflare requires the domain to be added as a Cloudflare zone and its nameservers pointed at Cloudflare. Cloudflare then creates the needed DNS record for Pages. - Do not add only a manual DNS record first. Cloudflare's docs warn that manually pointing a domain at
*.pages.devwithout first associating it in the Pages dashboard can fail and return522.
If you also want www.debugu.xyz, add it as a second custom domain after the apex is working.
- Cloudflare Pages Direct Upload docs: https://developers.cloudflare.com/pages/get-started/direct-upload/
- Cloudflare Pages Git integration docs: https://developers.cloudflare.com/pages/get-started/git-integration/
- Cloudflare Pages custom domain docs: https://developers.cloudflare.com/pages/configuration/custom-domains/