Cloudflare Pages
Cloudflare Pages is the recommended platform for NetDocs projects. It provides a lightning-fast CDN, automatic SSL, and deep integration with Cloudflare's security suite.
Connect Repository
In the Cloudflare Dashboard, go to Workers & Pages → Create Application → Pages. Connect your GitHub account and select your project.
Build Settings
Since NetDocs is a static site, you can leave the "Build Command" and "Build Directory" empty (or set to .).
Deploy
Click Save and Deploy. Cloudflare will now automatically update your site every time you push to GitHub.
GitHub Pages
If you want a simple, no-fuss setup, GitHub Pages is the way to go. It's built directly into your repository.
To enable it, go to your repository Settings → Pages and select the branch you want to deploy from (usually main).
Custom Domains
A custom domain (e.g., coolgames.com) makes your site look professional and easier to remember. We recommend Namecheap for purchasing domains due to their competitive pricing and free WHOIS privacy.
Affordable URLs
Use Namecheap to find .com or .net domains for under $10/year.
Cloudflare DNS
Once you buy a domain, change its Nameservers to Cloudflare for the best speed and security.
Security & WAF
UBG sites are often targets for DDoS attacks. Cloudflare's Web Application Firewall (WAF) can help you block malicious traffic before it even reaches your site.
// Example: Block traffic from specific bot networks (http.user_agent contains "HeadlessChrome") or (ip.geoip.asnum eq 12345)
Privacy Analytics
Tracking your visitors is important, but you should respect their privacy. Avoid Google Analytics and use privacy-focused alternatives like Plausible or Cloudflare Web Analytics.
These services don't use cookies and don't track personal data, making your site compliant with global privacy laws without any effort.