{"id":30844,"date":"2012-12-19T23:06:38","date_gmt":"2012-12-19T17:36:38","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=30844"},"modified":"2021-10-25T20:09:11","modified_gmt":"2021-10-25T14:39:11","slug":"dns-txt-verify-all-subdomains-in-google-webmaster-tools","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2012\/12\/dns-txt-verify-all-subdomains-in-google-webmaster-tools\/","title":{"rendered":"How to Add DNS TXT to Verify ALL Subdomains in Google Search Console"},"content":{"rendered":"<p><strong>DNS TXT record<\/strong> is the best way to verify all subdomains\/subdirectories on your domain name in Google webmasters tools, now Google Search Console. We have been verifying our GWT account by uploading an HTML file on the server in the root folder.<\/p>\n<p>We avoided the META tag in the HEAD, as it become publicly visible. But the DNS verification is a better way.<\/p>\n<p>Many webmasters host multiple subdomains for varying purposes like forums, microsites, blogs, etc. Google provides many ways to verify sites &#8211; but due to varying modes in which you might be hosting the sites, many times it is difficult to add the Google verification code in meta tags in the HEAD area, or add <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2014\/08\/adjusted-bounce-rate-in-universal-google-analytics\/\">Google analytics code<\/a> in the HEAD area or upload an HTML file in the root server.<\/p>\n<p>Many times you use CNAME for blogs\/job boards to give the appearance that you host the site on your own subdomain. How to verify those?<\/p>\n<h2>Google DNS TXT Verification<\/h2>\n<p>Here is the best part &#8211; If you verify your domain, ALL <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/\">subdomains<\/a> and subdirectories are automatically verified and it is the best way to claim ownership of your entire site completely, without the need to keep adding tags and uploading files to each sub-domain<\/p>\n<p>Obviously, you need to have control of your DNS settings, which most domain hosting providers provide access to.<\/p>\n<p>Go to\u00a0<a href=\"https:\/\/www.google.com\/webmasters\/verification\/home?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">site verification<\/a>\u00a0options in Google webmasters tools. Choose the domain you want to verify.<\/p>\n<p><img decoding=\"async\" class=\"border alignnone wp-image-31051 size-full\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/verify-domain.png\" alt=\"Verify Domain Name\" width=\"304\" height=\"430\" border=\"1\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/verify-domain.png 304w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/verify-domain-212x300.png 212w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><\/p>\n<p>After choosing Domain Name Provider, we could not find our web hosting provider there, so we choose &#8220;Other&#8221;.<\/p>\n<p>Then Google gives a long txt code that needs to be added to the DNS TXT settings of the domain name. Copy it correctly, \u00a0and paste it into Notepad to keep ready for use in the DNS settings.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-31050\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/verify-DNS-TXT.png\" alt=\"Verify DNS Txt\" width=\"358\" height=\"248\" border=\"1\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/verify-DNS-TXT.png 358w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/verify-DNS-TXT-300x207.png 300w\" sizes=\"(max-width: 358px) 100vw, 358px\" \/><\/p>\n<h2>How to add DNS TXT record?<\/h2>\n<p>Login to your server WHM and go to <em>DNS Settings &gt; Edit DNS Settings &gt; Choose Domain.<\/em><\/p>\n<p>Now we add a new TXT field to the domain name. Note your domain name should be followed by a dot. We use 300 sec as it will propagate DNS faster and make Google grab the verification faster.<\/p>\n<p>Enter the value provided by Google within double quotes (&#8221; &#8220;) \u00a0in the form field marked &#8220;Text information&#8221;.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-31049\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/dns-txt.png\" alt=\"Add DNS TXT in WHM\" width=\"503\" height=\"71\" border=\"1\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/dns-txt.png 503w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/dns-txt-300x42.png 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/p>\n<p>After you save the new DNS settings, the DNS propagation will occur quickly (you can check using WhatsMyDNS) and you can click verify. Now the domain will be verified and you can confirm.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-31052\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/domain-verified.png\" alt=\"Domain Verified\" width=\"257\" height=\"136\" border=\"1\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/domain-verified.png 257w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/domain-verified-150x79.png 150w\" sizes=\"(max-width: 257px) 100vw, 257px\" \/><\/p>\n<p>If you had previously added multiple subdomains and subdirectories to be individually tracked in GWT, they will ALL be automatically verified too. Try it for yourself.<\/p>\n<p>Another great idea is to verify your site in the free <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2021\/10\/ahrefs-free-account\/\">Ahrefs webmaster tools<\/a> and get all useful SEO data about your websites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DNS TXT record is the best way to verify all subdomains\/subdirectories on your domain name in Google webmasters tools, now&#8230;<\/p>\n","protected":false},"author":4,"featured_media":31052,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6,3],"tags":[49],"class_list":["post-30844","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogging","category-google","tag-tutorials"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/30844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=30844"}],"version-history":[{"count":0,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/30844\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/31052"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=30844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=30844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=30844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}