Menu

Post image 1
Post image 2
1 / 2
0

Verifying three custom domains in Google Search Console with Cloudflare DNS

DEV Community·MORINAGA·21 days ago
#Wda4tOw3
Reading 0:00
15s threshold

Before Google Search Console is useful — for indexing requests, coverage errors, or query data — you have to prove you own the domain. For three new custom domains on Astro sites, I did this in one afternoon. The fastest path was DNS TXT verification through Cloudflare, and there were a few non-obvious details worth writing down. This is a short notes post, not a full tutorial. Google and Cloudflare both have step-by-step documentation. What follows is the things that tripped me up and what the console actually shows at day one. DNS TXT vs HTML file for Astro SSG Search Console offers four verification methods. For Astro sites deployed to Cloudflare Pages: HTML file : Download a file, add to public/ , commit, push, wait for deploy. HTML meta tag : Modify the <head> layout component, commit, push, wait for deploy. DNS TXT record : Add a record in Cloudflare DNS. No deploy needed. Google Analytics or Search Console tag : Requires GA4 already wired up.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More