Website Ownership Verification Methods, DNS Records, and Meta Tags
How to prove you own a site for webmaster tools and business platforms: HTML file, meta tag, DNS TXT/CNAME, and what each provider requires.
Proving that you control a website is a standard step before using search webmaster tools or linking a domain to a business account. Most of the detailed guidance in this area comes from Google Search Console help on verifying site ownership; Bing Webmaster Tools and Meta domain verification use the same basic idea with different tokens and consoles.
What ownership verification is and why platforms require it
Section titled “What ownership verification is and why platforms require it”Ownership verification means showing a platform that you can change the site or its DNS so only real operators get owner-level access.
Ownership verification means proving to Search Console that you own a specific website. A verified owner has the highest degree of permissions in Search Console.
— Google, Verify your site ownership
Google explains that owners see sensitive search data and can change how a site appears on Google Search, so verification is deliberately strict. For establishing business details, Google treats verifying the site in Search Console as the first step to treating the site as an official presence.
Meta’s Domain Verification is the same pattern for a different goal: claiming the domain in Business Manager so you can control link-editing privileges and reduce misuse of your domain in ads and posts.
Domain Verification provides a way for you to claim ownership of your domain in Business Manager. This ownership allows you to control editing privileges of your links and other content to prevent misuse of your domain and to keep bad actors from spreading misinformation.
— Meta, Domain Verification
Bing requires verification before a new site is fully added to your account: you must prove ownership using one of the methods offered in Adding a site.
Verification methods compared across providers
Section titled “Verification methods compared across providers”All three ecosystems accept a small set of proofs. You usually pick one method per property; the token must stay in place because platforms re-check it.
| Approach | Google Search Console | Bing Webmaster Tools | Meta Business Manager |
|---|---|---|---|
| HTML file at site root | Yes (URL-prefix properties) | Yes (BingSiteAuth.xml) |
Yes (upload to web root) |
Meta tag in <head> |
Yes (google-site-verification) |
Yes | Yes (domain home page) |
| DNS record | TXT or CNAME (required for Domain property) | CNAME (or DNS auto via Domain Connect) | TXT at DNS |
| Existing tags on homepage | Google Analytics, Google Tag Manager | — | — |
| Platform auto-verify | Google Sites, Blogger (conditions apply) | DNS auto if provider supports Domain Connect | — |
Google’s choosing a verification method table notes that domain name provider verification is the only way for a Domain property (all protocols and subdomains), while HTML file and HTML tag work for URL-prefix properties but not Domain properties alone.
Meta states explicitly in Verifying your Domain that you only need one verification method. If you verify on behalf of a client, the domain should be verified in the owner’s Business Manager first.
HTML file verification: upload to the root URL
Section titled “HTML file verification: upload to the root URL”HTML file verification checks that a unique file is reachable at an exact URL without login.
Verify ownership of a site by uploading a special HTML file to a specific location on your site. This file is tied to a specific user. Follow the instructions on the verification details page. Removing this verification file from your site will cause you to lose verification for the site.
— Google, Verify your site ownership
Bing BingSiteAuth.xml at the root directory
Section titled “Bing BingSiteAuth.xml at the root directory”Bing’s flow is described in Adding a site: save the custom BingSiteAuth.xml, upload it to the root directory of the registered site, then complete verification in the UI.
Google Search Console file requirements and redirects
Section titled “Google Search Console file requirements and redirects”Google adds practical limits in Verify your site ownership:
- The file must be available to users who are not logged in (test in an incognito window).
- You must not change the file name or content; extra newlines at the end of the body are allowed.
- Search Console does not follow redirects when fetching the verification file (unlike some tag-based checks).
- Cross-domain redirects fail; same-domain protocol or host redirects (for example
httptohttps, or bare domain towwwon the same domain) are supported.
Meta’s HTML file upload steps mirror this: download the file, put it in the root directory, click Verify, and leave the file in place for periodic checks. Admin access to the web root is required.
Meta tag verification: google-site-verification and provider tokens
Section titled “Meta tag verification: google-site-verification and provider tokens”Tag verification embeds a secret in the HTML of the page the platform treats as the property’s homepage.
Google documents the supported tag in meta tags and attributes that Google supports:
<meta name="google-site-verification" content="...">You can use this tag on the top-level page of your site to verify ownership for Search Console. Note that while the values of the
nameandcontentattributes must match exactly what is provided to you (including upper and lower case), it doesn’t matter if you change the tag from XHTML to HTML or if the format of the tag matches the format of your page.
For Google Search Console HTML tag verification, the tag must sit inside <head>, on the non-logged-in homepage, with <head> followed by <body>. URL-prefix properties only; not sufficient alone for a Domain property without DNS.
Bing’s meta tag authentication asks you to paste the provided <meta /> at the end of <head> on the registered site’s default page and republish.
Meta’s meta tag steps place the verification meta tag in <head> on the domain home page, confirm it in page source, verify in Business Manager, and leave the tag for ongoing checks.
Where Search Console looks when the homepage redirects
Section titled “Where Search Console looks when the homepage redirects”For tag-based methods (HTML meta, Google Analytics, Google Tag Manager), Google looks at the page a non-logged-in visitor reaches after redirects from the property URL—not necessarily the URL you typed when creating the property.
If you define your property as
https://example.com, and any non-logged in user who types that URL in their browser is redirected tohttps://example.com/home, then Search Console will look for your verification tag in the pagehttps://example.com/home.— Google, Verify your site ownership
For file upload, redirects are not followed when locating the file—an important difference when choosing a method.
DNS verification: TXT, CNAME, and Bing Domain Connect
Section titled “DNS verification: TXT, CNAME, and Bing Domain Connect”DNS verification proves control at the domain host. It is required for a Google Search Console Domain property (example.com).
Add a DNS record to your domain provider’s record list to prove ownership. This is required only for Domain property, (
example.com) not URL-prefix properties (https://example.com).— Google, Verify your site ownership
Google may offer TXT (common when no relevant CNAME exists) or CNAME depending on existing DNS; manual records can take two or three days to become visible. After success, do not remove the DNS record—Search Console keeps checking it. TXT records often look like google-site-verification=...; CNAME targets may include dv.googlehosted.com. Use the Google Admin Toolbox (described in Google’s DNS troubleshooting) to see what your provider is serving.
Verifying a root domain in Search Console automatically covers subdomains added under it; verifying only a subdomain does not prove the parent domain.
Bing offers Add a CNAME record to DNS plus optional DNS auto verification via the Domain Connect standard when your DNS provider has partnered with Bing—you sign in at the DNS provider and the CNAME may be added automatically, with verification in seconds or sometimes longer depending on the provider signal (Adding a site).
Meta’s DNS TXT workflow: add the TXT entry (often @ as host), wait for propagation (minutes up to 72 hours), click Verify, and leave the TXT record in place.
Google-only shortcuts: Analytics, Tag Manager, hosted sites
Section titled “Google-only shortcuts: Analytics, Tag Manager, hosted sites”If Search Console and the tag account share the same Google account, you can verify using an existing Google Analytics (analytics.js or gtag.js in <head> on the public homepage, with edit rights on the GA property) or Google Tag Manager (Publish or Admin on the container, with the standard snippet placement including <noscript> immediately after <body>). Both are for URL-prefix properties, not Domain properties alone.
Google Sites and Blogger can auto-verify when you use the same Google account; older Blogger sites or special Google Sites setups may still need the HTML tag method.
On hosted platforms (WordPress, Shopify, Wix, etc.), some methods are blocked; Google advises searching the host’s docs for “Search Console verification” or using an official integration such as Site Kit for WordPress (Verify your site ownership).
How long verification lasts and multiple owners
Section titled “How long verification lasts and multiple owners”Google keeps verification while it can still see a valid token and notifies you if checks fail; permissions expire after a grace period if not fixed.
Verification lasts as long as Search Console can confirm the presence and validity of your verification token. Search Console periodically checks if your verification token is still present and valid.
— Google, Verify your site ownership
You can add multiple verification methods on the property settings page as backup—for example if a theme change removes a meta tag. Multiple people can verify the same property; do not overwrite another owner’s token if you share a method. After a parent property is verified, child URL-prefix properties may auto-verify with the same method.
Search Console collects data once a property is added, but reporting can take a few days to accumulate (Verify your site ownership). If the only verified owner leaves, add your own verification promptly or ask an existing owner to grant access.
For Meta, after DNS, file, or meta verification, you can assign Facebook Pages to the verified domain in Business Manager instead of maintaining fb:pages markup on every page—Open Graph tags remain optional for indicating ownership without Business Manager.
Common mistakes to avoid
Section titled “Common mistakes to avoid”- Removing verification files, meta tags, or DNS records after success (all providers warn they may re-check).
- Putting Google’s HTML verification file behind authentication or at the wrong path.
- Using another user’s verification token on a shared homepage.
- Choosing file upload when all traffic redirects to another domain (Google suggests HTML tag instead).
- Expecting instant DNS verification worldwide before TTL/propagation completes.
How to check this on your site
Section titled “How to check this on your site”-
Open the relevant console (Google Search Console, Bing Webmaster Tools — Adding a site, or Meta Verifying your Domain) and note which method you used and the exact token or file name.
-
For file verification, visit the exact URL in a private/incognito window and confirm the content matches what the platform gave you, with no login prompt.
-
For meta tag verification, view source on the public homepage (after any redirects) and search for the verification
nameattribute; confirmcontentmatches character-for-character. -
For DNS, use the DNS lookup guidance in Google’s verification help or your registrar’s DNS panel to confirm TXT or CNAME values, then retry Verify if propagation was recent.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact wording you are asking about so it can be corrected.