1st post

Connecting a subdomain (e.g., blog.yourdomain.com) managed on Cloudflare to a Blogger blog requires configuring settings in both Blogger and Cloudflare.

 

1.Get your CNAME records from Blogger:Prerequisite step in Blogger Settings.

  1. Log in to your Blogger Dashboard.
  2. Select the blog you want to connect.
  3. In the left menu, go to Settings and scroll down to the Publishing section.
  4. Click on Custom domain.
  5. Enter your full subdomain (e.g., blog.yourdomain.com or shop.yourdomain.com) and click Save.
  6. Blogger will display an error message with two CNAME records that you need to add to Cloudflare:
    • CNAME 1 (Domain verification):
      • Name: blog (or your chosen subdomain prefix)
      • Target: ghs.googlehosted.com
    • CNAME 2 (Security verification):
      • Name: A unique security token (e.g., abc123xyz)
      • Target: A Google security domain (e.g., gv-xxx.dv.googlehosted.com)

2.Add DNS records in Cloudflare:Add the two Blogger records to Cloudflare DNS.

  1. Log in to your Cloudflare Dashboard and select your domain.
  2. Go to DNS > Records in the left sidebar.
  3. Click Add record:
    • Type: CNAME
    • Name: blog (or your chosen subdomain prefix)
    • Target: ghs.googlehosted.com
    • Proxy status: Set to DNS only (Gray cloud icon).

Important: Keep Proxy turned OFF initially. If Cloudflare proxies the traffic during setup, Blogger may fail to verify SSL/ownership.

  1. Click Save.
  2. Click Add record again for the second verification record:
    • Type: CNAME
    • Name: Paste the unique security token string from Blogger.
    • Target: Paste the Google security target URL (gv-xxx.dv.googlehosted.com).
    • Proxy status: Set to DNS only (Gray cloud).
  3. Click Save.

3.Verify and save in Blogger:Finalize custom domain connection.

  1. Return to your Blogger settings page.
  2. Click Save on the Custom Domain settings. (If it throws an error immediately, wait 2–5 minutes for DNS propagation and click Save again).
  3. Once saved successfully, enable the following toggles under Settings > Publishing:
    • HTTPS availability: Turn On.
    • HTTPS redirect: Turn On.

Important Troubleshooting Tips

  • DNS Propagation: SSL certificate generation on Blogger can take anywhere from 15 minutes to 24 hours after verification.
  • Proxy Status: Once Blogger completely verifies your custom subdomain and HTTPS is active, you can return to Cloudflare and toggle the Proxy status back to Proxied (Orange cloud) if you want Cloudflare's CDN and DDoS protections.

 

 lab.gyani.top

Here is the exact configuration for lab.gyani.top:

 

1.Enter lab.gyani.top in Blogger:Perform this step in Blogger Settings.

  1. Open Blogger > Settings > Publishing > Custom domain.
  2. Enter lab.gyani.top and click Save.
  3. Copy the unique security token (CNAME 2) that appears on your screen:
    • Name: A short string (e.g., 5k3j2x...)
    • Target: A Google security URL (e.g., gv-xxx.dv.googlehosted.com)

2.Add DNS Records in Cloudflare:Add both CNAME records in Cloudflare.

  1. Go to Cloudflare Dashboard > select gyani.top > DNS > Records.
  2. Click Add record for the subdomain:
    • Type: CNAME
    • Name: lab
    • Target: ghs.googlehosted.com
    • Proxy status: DNS only (Gray cloud icon)
    • Click Save.

  3. Click Add record for Google security verification:
    • Type: CNAME
    • Name: (Paste the unique token string from Step 1)
    • Target: (Paste the Google security URL from Step 1)
    • Proxy status: DNS only (Gray cloud icon)
    • Click Save.

 

3.Verify in Blogger and Enable HTTPS:Complete setup and enable SSL.

  1. Return to Blogger and click Save on the Custom Domain popup.
  2. Under Settings > Publishing, turn On both HTTPS availability and HTTPS redirect.

Note: Always keep Cloudflare set to DNS only (Gray Cloud) during verification. Once [https://lab.gyani.top](https://lab.gyani.top) loads properly in your browser, you can safely change the proxy status to Proxied (Orange Cloud) if you prefer.

 

 

 

Blogger doesn't show the second CNAME security token if it already verified ownership of your apex domain (gyani.top) previously under the same Google account.

In this case, you only need to add one CNAME record in Cloudflare:

DNS Record to Add in Cloudflare

Go to your Cloudflare Dashboard > gyani.top > DNS > Records > Add record:

Field

Value

Type

CNAME

Name

lab

Target

ghs.googlehosted.com

Proxy status

DNS only (Gray cloud icon)

Next Steps

  1. Save the record in Cloudflare.
  2. Go back to Blogger > Settings > Custom domain.
  3. Type lab.gyani.top and click Save. It should accept it immediately without asking for a second token.
  4. Turn on HTTPS availability and HTTPS redirect under Blogger settings.

 

  

Comments