DNS Records Template - LawtonChilesRedCrossClub/website GitHub Wiki

LCHS Red Cross Club — DNS Records Template

(Cloudflare DNS + GitHub Pages setup)

Purpose

This template provides the exact DNS records and redirect rules required to connect the LCHS Red Cross Club domain (lchsredcross.org) to GitHub Pages.

Keep this document in the repo for future Web Team members. If DNS records are ever lost, re-enter them exactly as listed here.


Required DNS Records

CNAME Record (www subdomain)

Type: CNAME

Name: www

Target: lawtonchilesredcrossclub.github.io

Proxy: Proxied (orange cloud)

TTL: Auto

Purpose: Points the www subdomain to GitHub Pages site.

A Records (root domain)

Type: A

Name: @

IPv4 Addresses:

  • 185.199.108.153
  • 185.199.109.153
  • 185.199.110.153
  • 185.199.111.153

Proxy: Proxied (orange cloud)

TTL: Auto

Purpose: Ensures lchsredcross.org (without www) resolves to GitHub Pages.


Redirect Rule (root → www)

Set up in Cloudflare → Rules → Redirect Rules:

  • Rule Name: Redirect root to www
  • If incoming requests match: • Hostname equals lchsredcross.org
  • Then: • Forwarding URL (301 Permanent Redirect) • Destination: https://www.lchsredcross.org/$1

Purpose: Ensures all visitors are redirected to the secure www version.


Checklist After Setup

  • Verify DNS records match this template in Cloudflare.
  • Enable DNSSEC in Cloudflare → copy DS record to Porkbun.
  • In GitHub Repo → Settings → Pages → Custom Domain = www.lchsredcross.org.
  • Enforce HTTPS (GitHub Pages).

Notes

• Always keep all 4 A records — they provide reliability and performance.

• CNAME must always point to the org GitHub Pages domain (not full repo URL).

• Do not delete these records unless replacing with an updated GitHub Pages config.