Why Vercel + Cloudflare?

The fastest way to get a custom domain on a static site is Vercel for hosting and Cloudflare for DNS. Here’s the exact setup I used for aicoding.followcommand.app.

Step 1: Deploy to Vercel

Push your code to GitHub, then:

  1. Go to vercel.com/new
  2. Click Import Git Repository
  3. Select your repo
  4. Click Deploy

You’ll get a *.vercel.app URL instantly.

Step 2: Add Custom Domain

In your Vercel dashboard:

  1. Go to your project → SettingsDomains
  2. Type your subdomain (e.g., aicoding.followcommand.app)
  3. Copy the CNAME target Vercel shows you

Step 3: Cloudflare DNS

In Cloudflare → DNS → Add Record:

FieldValue
TypeCNAME
Namelink
Targetcname.vercel-dns.com
ProxyDNS only (grey cloud)

Step 4: SSL and Redirects

Vercel auto-provisions SSL. Then toggle Redirect to primary domain in Vercel settings.

Your page is live with SSL in about 2 minutes.

Why This Stack?

  • Vercel handles hosting, SSL, and deployment
  • Cloudflare manages DNS (but we don’t proxy; Vercel handles SSL directly)
  • Custom domain gives you branded links

It’s the same setup I use for aicoding.followcommand.app. Free, and it took less time to configure than writing this post.