Case Study · Static Web & Edge Deployment
Static Site Migration & Digital Contact Hub
Migrating a local service business from Squarespace to a custom static site and QR digital contact card on Cloudflare Pages—cutting recurring platform fees to $0.
- HTML5 & CSS3
- Cloudflare Pages
- Cloudflare DNS
- GitHub CI/CD
- vCard / QR Hub
1. The Challenge
A local residential pet- and house-sitting business was paying recurring annual hosting and domain-markup fees on Squarespace for a five-page brochure site. Beyond the ongoing subscription cost, the hosted builder created three practical limitations:
- Heavy page overhead: Template scripts and third-party assets slowed down mobile loads for clients opening links over cellular data.
- Fragmented domain and DNS control: Domain registration lived at GoDaddy while nameservers and DNS records were managed inside Squarespace alongside Google Workspace email routing, complicating subdomain routing for self-hosted automation endpoints.
- No self-owned digital contact card: Sharing contact details on-site or on printed flyers required either manual typing or paying for a separate “link-in-bio” subscription.
2. System Architecture & Migration Flow
Instead of moving to another visual site builder, I rebuilt the site from scratch in semantic HTML5 and modular CSS3 and consolidated DNS, hosting, and deployment onto Cloudflare:
- Zero-Downtime DNS & Registrar Transfer: Switched nameservers to Cloudflare’s free DNS tier first, verifying every Google Workspace MX, SPF, and domain-verification TXT record before initiating the at-cost registrar transfer from GoDaddy.
- Parallel
.pages.devStaging: Connected a private GitHub repository to Cloudflare Pages and tested the entire mobile layout, custom palette, and interactive forms on a.pages.devpreview URL while the existing site remained live. - Edge-Cached Static Production: Cut the root domain over to Cloudflare Pages so every page, stylesheet, and asset serves directly from Cloudflare’s global CDN with automatic HTTPS and zero server maintenance.
- QR-Linked Digital Contact Hub: Added a dedicated, mobile-first contact hub page paired with a downloadable
.vcfcontact card and static QR code for printed cards and vehicle magnets.
3. Key Engineering Decisions
Zero-Downtime DNS & Registrar Cutover
Registrar transfers fail or stall when third-party nameservers hold the active DNS zone. Importing the zone into Cloudflare first—and auditing all five Google Workspace MX records and quoted BIND-format TXT records before changing nameservers—ensured zero dropped client emails during the switch. Completing the registrar transfer afterward also added a full year onto the existing registration at wholesale registry cost.
Staging on .pages.dev & Mobile-First Design System
Rather than relying on heavy CSS frameworks, the site uses a single shared stylesheet with custom CSS variables for the sage and warm cream brand palette (#6A6D5C, #96937A, #F4F6EA), fluid typography, and responsive grids. Staging on Cloudflare’s preview domain made it easy to verify touch targets and form ergonomics on an Android device before touching production DNS.
Digital Contact Hub & QR vCard Workflow
Field interactions often happen in driveways or during walkthroughs where typing a URL or email address is clumsy. A lightweight static contact page—reachable via a printed QR code—gives prospective clients one-tap buttons to call, text, email, save a pre-formatted .vcf contact card straight to their phonebook, or jump directly to the online service intake form.
Clean CI/CD with a GitHub Organization
To keep business code isolated from personal infrastructure projects without juggling separate GitHub logins in Cloudflare, company repositories were organized under a dedicated GitHub Organization. Strict .gitignore rules keep local editor configs and build artifacts out of main, so every git push triggers a clean, sub-30-second deployment on Cloudflare Pages.
Decoupled Forms Without Server Bloat: Keeping the frontend 100% static didn’t mean giving up dynamic workflows. Standard inquiries route through a lightweight form endpoint, while the multi-step Client Intake Agreement—complete with an HTML5
<canvas>signature pad—posts directly to a self-hosted n8n and Gotenberg PDF pipeline over an encrypted Cloudflare Tunnel.
4. Lessons Learned
- Separate DNS cutover from registrar transfer: Taking control of the DNS zone first removes the biggest risk in any website migration and lets you verify mail routing before touching hosting.
- Stage with real mobile hardware: Testing on an actual phone over cellular data catches tap-target spacing, font scaling, and signature-canvas quirks that desktop browser emulators often miss.
- Static sites age gracefully: With zero plugins, databases, or CMS security patches to babysit, a clean HTML/CSS site hosted on an edge CDN stays fast and free to run for years.
