DNS Migration Guide

This guide covers migrating your domain from Squarespace to GitHub Pages.

Important: When to Migrate DNS

DO NOT migrate DNS until:

Pre-Migration Checklist

Before updating DNS:

  1. GitHub Pages is Live
    • Site is accessible at: https://YOUR_USERNAME.github.io/lahave-website/
    • All pages load correctly
    • Contact form works
  2. CNAME File is Set
    • CNAME file exists in repository root
    • Contains: www.lahave.io
    • File is committed and pushed to GitHub
  3. Custom Domain Configured in GitHub
    • Go to repository Settings > Pages
    • Custom domain field shows: www.lahave.io
    • GitHub shows “DNS check in progress” or “DNS check successful”

DNS Records Required

You need to set up the following DNS records in your domain registrar (Squarespace or wherever your domain is registered):

A Records (for root domain: lahave.io)

Create 4 A records with these values:

Host Type Points To TTL
@ A 185.199.108.153 3600
@ A 185.199.109.153 3600
@ A 185.199.110.153 3600
@ A 185.199.111.153 3600

Note: The @ symbol represents the root domain (lahave.io)

CNAME Record (for www subdomain)

Create 1 CNAME record:

Host Type Points To TTL
www CNAME YOUR_USERNAME.github.io 3600

Important: Replace YOUR_USERNAME with your actual GitHub username.

Step-by-Step DNS Update

If Domain is in Squarespace:

  1. Log in to Squarespace
  2. Go to Settings > Domains
  3. Click on lahave.io
  4. Go to DNS Settings
  5. Remove existing Squarespace DNS records (A records pointing to Squarespace)
  6. Add the 4 A records listed above
  7. Add the CNAME record for www
  8. Save changes

If Domain is with Another Registrar:

  1. Log in to your domain registrar (GoDaddy, Namecheap, etc.)
  2. Find DNS Management or DNS Settings
  3. Locate your DNS records for lahave.io
  4. Remove or update existing A records
  5. Add the 4 A records listed above
  6. Add the CNAME record for www
  7. Save changes

Verification Steps

1. Check DNS Propagation

After updating DNS, verify propagation:

  1. Visit whatsmydns.net
  2. Enter lahave.io and select “A” record type
  3. Check that all 4 GitHub Pages IPs appear
  4. Enter www.lahave.io and select “CNAME” record type
  5. Verify it points to YOUR_USERNAME.github.io

2. Verify in GitHub

  1. Go to repository Settings > Pages
  2. Under “Custom domain”, you should see:
    • Domain verified
    • “DNS check successful” message

3. Test Website Access

Wait 24-48 hours for DNS to fully propagate, then test:

DNS Propagation Timeline

During this time:

Troubleshooting

DNS Not Propagating

Site Shows GitHub 404

SSL Certificate Issues

Mixed Content (HTTP/HTTPS)

After Migration

Once DNS has fully propagated:

  1. Monitor for 48 hours
    • Check site accessibility
    • Test all functionality
    • Monitor contact form submissions
  2. Update Any External Links
    • Update social media profiles
    • Update business listings
    • Update email signatures
  3. Cancel Squarespace (if applicable)
    • Only after confirming new site works perfectly
    • Keep Squarespace active for a few weeks as backup

Rollback Plan

If something goes wrong:

  1. Revert DNS records to Squarespace
  2. Wait for DNS propagation (24-48 hours)
  3. Fix issues on GitHub Pages
  4. Re-attempt migration when ready

Support Resources

Quick Reference

GitHub Pages IP Addresses:

CNAME Target:

Domain: