Back to Blog
How We Did It 2026-03-08 · 5 min read

We Moved Our Website to Cloudflare Pages Using AI — It Took One Afternoon

How we replaced a $30/month hosting plan with a free, faster alternative — and used AI to build the entire site from scratch in a single session.

Our dental practice website was on Squarespace. It cost about $30 a month. It loaded slowly. We couldn't customise it properly. And every time we wanted to change something, we had to fight the drag-and-drop editor.

So we rebuilt the whole thing using AI and moved it to Cloudflare Pages. It took one afternoon. The site is faster, fully custom, and costs $0/month to host.

Here's how we did it — and how you can do the same.

What was wrong with our old setup

This isn't a knock on Squarespace specifically — the same problems apply to Wix, WordPress.com, and most template-based website builders:

  • Slow load times. Template builders ship with bloated JavaScript, tracking scripts, and resources you don't need. Our old site took 3–4 seconds to load on mobile. Google notices.
  • Limited customisation. Want to change how the contact form works? Add a custom feature? You're stuck within the builder's constraints or paying for plugins.
  • Monthly fees that go up. What starts at $16/month creeps up to $33, then $49. For a brochure site that rarely changes, that's money going nowhere.
  • You don't own it. Stop paying and your website disappears. The design, the content layout, the structure — it all lives on their platform.

What we moved to

Cloudflare Pages is a free hosting platform that serves static websites from Cloudflare's global CDN — the same network that powers about 20% of the internet. Your site gets cached on servers in 300+ cities worldwide. The free tier covers most business websites with zero monthly cost.

We paired it with Astro, a modern web framework that builds fast, lightweight HTML pages. No heavy JavaScript frameworks. No bloat. Just clean, fast pages that search engines love.

How AI built the site

Here's where it gets interesting. We didn't hand-code the site from scratch in the traditional sense. We used AI to build it.

We described what we wanted — the pages, the layout, the content, the style — and AI generated the entire codebase. Every page, every component, every line of CSS. We reviewed it, tweaked what needed tweaking, and deployed.

The whole process:

  1. Describe the site structure — homepage, solutions pages, about, contact, blog. AI scaffolds all the pages and navigation.
  2. Define the brand — dark theme, gold accents, clean typography. AI generates the design system and global styles.
  3. Write the content — we provided the key points for each page. AI expanded them into full copy that matches the tone we wanted.
  4. Generate assets — AI created the Open Graph image for social sharing and helped design the favicon.
  5. SEO setup — meta tags, Schema.org markup, sitemap, robots.txt — all generated automatically.
  6. Deploy — push to GitHub, Cloudflare Pages builds and deploys automatically. Live in under 60 seconds.

Total time from "let's rebuild the website" to live site: about 4 hours. Most of that was reviewing content and making decisions, not writing code.

The numbers

Before (Squarespace) After (Cloudflare Pages)
Monthly cost $33/month ($396/year) $0/month
Page load time 3–4 seconds <1 second
Google PageSpeed score 60–75 95–100
SSL certificate Included Included (free)
Custom domain Included Included (free)
Full code ownership No Yes — it's all in your GitHub
Can AI update it? No — locked in the builder Yes — AI reads and writes code directly

Why this matters for SEO

Google has been clear: page speed is a ranking factor. A site that loads in under 1 second ranks better than one that takes 3–4 seconds. And Core Web Vitals — the metrics Google uses to measure user experience — are dramatically better on a lightweight static site than on a bloated template builder.

Our Cloudflare Pages site hits near-perfect scores on every Core Web Vital. That's not because we're brilliant web developers — it's because there's simply less stuff to load. No unnecessary JavaScript. No third-party tracking. No template engine overhead.

The AI advantage: your site keeps getting better

Here's the part that excites us most. Because the site is built with clean, readable code stored in a GitHub repository, AI can work on it directly.

Want a new blog post? AI writes it and deploys it. Want to add a new solutions page? AI generates it matching the existing design. Need to update the contact details or add a new team member? AI makes the change and pushes it live.

With a Squarespace or Wix site, you're stuck in their editor. With a code-based site on Cloudflare Pages, AI becomes your web developer. Changes that used to require logging into a dashboard, fighting a drag-and-drop editor, and hoping nothing breaks — now they're a conversation.

Is this right for your business?

If your website is a brochure site — a handful of pages that describe what you do, plus a contact form — then yes, absolutely. You're paying monthly fees for something that should cost nothing to host.

This approach works especially well for:

  • Dental and medical practices — your site rarely changes, so why pay monthly?
  • Professional services — lawyers, accountants, consultants with simple informational sites
  • Trades — electricians, plumbers, builders who just need a clean site with services and contact info
  • Any business paying $20–50/month for hosting a site that barely changes

If you need a complex web app with user accounts, e-commerce, or real-time features — you'll need more than a static site. But for most small businesses, a fast static site on Cloudflare Pages is all you need.

Want us to rebuild your site and move it to free hosting? Let's talk. We'll tell you honestly whether it makes sense for your business — and if it does, AI can have your new site live within days.

Want to build something like this?

We build custom AI tools for businesses. Tell us what you're dealing with — we'll tell you what's possible.

Book a Free Call