Skip to content
Kenya, Uganda, Tanzania, Rwanda, Malawi, Somalia and DRC 0720 757 786 WhatsApp [email protected]
Free consultation
Insights · 27 October 2026

Moving a Website to Cloudflare While Keeping Your DNS and Zoho Email Where They Are

How we moved our own site from Vercel to Cloudflare Pages without moving nameservers or touching Zoho Mail, and the DNS caching detail that catches everyone.

We rebuilt turtletechnologies.co.ke and moved it to Cloudflare Pages. The requirement was strict: the website moves, but DNS stays with our registrar and email stays on Zoho. No downtime for email, and as little as possible for the site.

This is how we did it, and the detail that catches almost everyone.

Why Cloudflare Pages

  • Static pages served from Cloudflare’s edge, including locations in East Africa
  • Free SSL, DDoS protection and unlimited static bandwidth on the free plan
  • A small serverless function handles the website’s contact form
  • No server to patch, and nothing on the site an attacker could log into

Step 1: Publish and test before touching DNS

We deployed the site to its free *.pages.dev address and checked every page there first. The live domain kept pointing at the old site the whole time.

Step 2: Change one record, and leave the email records alone

Your domain’s DNS is a list of records. Email depends on the MX records (pointing to Zoho) plus the SPF, DKIM and DMARC TXT records. The website depends on the www record.

We changed one record only: the www CNAME, from the old host to yourproject.pages.dev, after adding www as a custom domain in Cloudflare Pages. The MX, SPF and DKIM records were never touched, so email kept flowing without interruption.

Step 3: The bare domain

Cloudflare Pages can serve www with DNS hosted elsewhere, but not the bare domain (example.co.ke). The clean fix is a permanent redirect from the bare domain to www, done at whichever server the bare domain’s A record points to.

The caching detail

After saving the change, our own laptop still showed the old site, and then a 404. The record was correct. Querying the registrar’s nameserver directly showed the new value:

dig +short CNAME www.example.co.ke @ns1.your-dns-provider.com

The cause was TTL. Our records had a TTL of 14,400 seconds, so resolvers everywhere were allowed to remember the old answer for up to four hours. Two practical rules follow:

  • Lower the TTL on records you’re about to change (to 300 seconds) a day ahead
  • Don’t remove the old host until the new answer has propagated, or visitors with cached DNS land on an error page

Step 4: Let the website send email, without touching Zoho

The contact form sends through a transactional email service. Its DNS records live on a subdomain (send. and resend._domainkey), so they sit alongside Zoho’s records without changing them.

Checklist

  • Test on the pages.dev address first
  • Lower the TTL a day before
  • Change only the www record; leave MX, SPF and DKIM untouched
  • Redirect the bare domain to www
  • Verify with dig … @your-nameserver, then wait out the TTL
  • Remove the old host last

We do this for clients on any registrar. See Web Hosting, VPS & Domains and Business Email Hosting, or book a free consultation.

Start with a free consultation.

Ask an engineer anything about your systems or project. Your message goes straight to our WhatsApp — free, no obligation.

Call 0720 757 786WhatsApp[email protected]

Replies on WhatsApp

Get a free consultation

Ask us anything about your systems, IT or a project. Your message goes straight to our team on WhatsApp — we usually reply within the hour during business hours.

What's it about? *
Best way to reach you

Opens WhatsApp with your message ready to send to 0720 757 786. Free, no obligation.