Setting Up cs404.org: A Journey with GitHub Pages, Cloudflare, and DDoS Protection

Explore the steps involved in securing a static website with GitHub Pages and Cloudflare

September 25, 2024 · 10 min read

This blog covers the technical documentation of setting up cs404.org, a static website hosted on GitHub Pages, optimized with Cloudflare, and protected from DDoS attacks. The main steps involve domain registration, GitHub Pages configuration, Cloudflare integration, SSL setup, and landing page creation. Let’s go step by step through the setup process.

1. Domain Registration

I registered the domain cs404.org using Namecheap. The domain is pointed to Cloudflare’s DNS for handling security, SSL, and caching.

2. GitHub Pages Setup

Hosting cs404.org on GitHub Pages was straightforward. The process involved:

3. Cloudflare Integration

Cloudflare was configured to manage DNS, SSL, and protect against DDoS attacks:

4. Custom Landing Page

The landing page for cs404.org is simple but effective:

5. Troubleshooting DNS and SSL Issues

A few DNS and SSL issues were encountered during setup:

6. Collaboration and Team Setup

The GitHub repository was shared with collaborators, granting them write access to contribute to the project. Collaborators were invited through GitHub’s "Manage Access" settings.

7. Final Testing

The website was tested on various browsers (Chrome, Firefox, Safari) and devices (desktop and mobile). HTTPS redirection and DDoS protection (CAPTCHA challenge) were successfully verified.

8. Future Work

Additional pages will be added as development continues, and DDoS protection settings will be adjusted based on traffic and activity levels.

Stay tuned for updates and check out the website at https://cs404.org!