{"id":2417,"date":"2020-08-28T04:38:00","date_gmt":"2020-08-28T12:38:00","guid":{"rendered":"https:\/\/www.henselhosting.com\/?p=2417"},"modified":"2021-09-30T03:12:41","modified_gmt":"2021-09-30T10:12:41","slug":"search-engine-tip-prevent-duplicate-content-by-removing-wildcard-subdomain-from-dns","status":"publish","type":"post","link":"https:\/\/www.henselhosting.com\/blog\/search-engine-tip-prevent-duplicate-content-by-removing-wildcard-subdomain-from-dns\/","title":{"rendered":"Search Engine Tip: Prevent Duplicate Content By Removing Wildcard Subdomain From DNS"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"78\" src=\"https:\/\/www.henselhosting.com\/wp-content\/uploads\/2019-12-02-19_35_17-Zoekmachine-tip_-duplicate-content-voorkomen-door-wildcard-subdomein-uit-DNS-te-.png\" alt=\"\" class=\"wp-image-2418\" srcset=\"https:\/\/www.henselhosting.com\/blog\/wp-content\/uploads\/2019-12-02-19_35_17-Zoekmachine-tip_-duplicate-content-voorkomen-door-wildcard-subdomein-uit-DNS-te-.png 643w, https:\/\/www.henselhosting.com\/blog\/wp-content\/uploads\/2019-12-02-19_35_17-Zoekmachine-tip_-duplicate-content-voorkomen-door-wildcard-subdomein-uit-DNS-te--300x36.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If you have a website, it is important to only publish it in one place.&nbsp;The underlying reason is that Google and other search engines do not like it if they find the same information in multiple places (so-called duplicate content).<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How is that possible if you do not intentionally copy pages to other places?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One possibility is that your website can be accessed via multiple URLs.&nbsp;For example, we will give you a temporary URL if the domain has not yet been moved or is in the air.&nbsp;In addition, the DNS is set up so that you can come to your site via any subdomain.&nbsp;If you use WordPress you already set the website URL via Settings&gt; General.&nbsp;If visitors are received on another (sub) domain, WordPress will immediately send the visitor to the correct domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you now know which domain your website should be active on, then in many cases you can prevent your website from being accessed in several ways by a few simple steps (of course use your own domain instead of example.com below):<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Log in to the account center&nbsp;<a href=\"https:\/\/ac.managedomain.nl\/\">https:\/\/ac.managedomain.nl\/<\/a><\/li><li>Select the domain that you want to set;<\/li><li>Look under &#8220;Manage Subdomains&#8221; (and dig into your memory) and write down the subdomains that you use;<\/li><li>Select &#8220;Name Servers&#8221;;<\/li><li>See if you find a line with an asterisk and an A, something like this:&nbsp;<strong>* .example.com A 1.2.3.4 3600<br><\/strong><img loading=\"lazy\" decoding=\"async\" width=\"593\" height=\"23\" class=\"wp-image-2421\" style=\"width: 550px\" src=\"https:\/\/www.henselhosting.com\/wp-content\/uploads\/2019-12-02-19_36_23-Search-engine-tip_-prevent-duplicate-content-by-removing-wildcard-subdomain-from-1.png\" alt=\"\" srcset=\"https:\/\/www.henselhosting.com\/blog\/wp-content\/uploads\/2019-12-02-19_36_23-Search-engine-tip_-prevent-duplicate-content-by-removing-wildcard-subdomain-from-1.png 593w, https:\/\/www.henselhosting.com\/blog\/wp-content\/uploads\/2019-12-02-19_36_23-Search-engine-tip_-prevent-duplicate-content-by-removing-wildcard-subdomain-from-1-300x12.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/li><li>Write down the IP of the line with the asterisk (or take a screenshot), then you can easily undo it later by creating a new line with the same data.&nbsp;You also need the IP address in step 8;<\/li><li>If you do see this rule, check-in the browser whether&nbsp;<em>www.example.com<\/em>&nbsp;but also&nbsp;<em>www123.example.com<\/em>&nbsp;, for example,&nbsp;<em>remain<\/em>&nbsp;in the browser with identical content, without redirecting the visitor to the main domain;<\/li><li>So if you can put a number of different URLs in the browser and they all display the same website, it is better that you delete the line with the asterisk.<br><strong>Note<\/strong>&nbsp;&nbsp;that if you have other subdomains in use (see step 3), they will stop working if you delete the line with the asterisk.&nbsp;To prevent this, you can add the subdomains to the Name Server settings by creating one or more A records with the same IP as the asterisk (as you noted in step 6).<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">After changing the Name Server data, it may take a while for the changes to work.&nbsp;Internet providers can sometimes remember the data up to a day later.&nbsp;Therefore, for testing after step 8, it is better to use subdomains that you have not previously entered in the browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Better DNS settings make everyone happy.&nbsp;So get started and if you have any questions, we are always there for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PS: From mid-February 2017, the * record is no longer automatically created for new orders and name server records are automatically added and deleted when creating\/deleting subdomains via \u201cManage Subdomains\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PPS: For more advanced use you can also indicate to search engines which of the identical pages is the actual source, by means of \u201ccanonicalization\u201d, see also:&nbsp;<a href=\"https:\/\/support.google.com\/webmasters\/answer\/66359?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/support.google.com\/webmasters\/answer\/66359?hl=en<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have a website, it is important to only publish it in one place.&nbsp;The underlying reason is that Google and other search engines do not like it if they find the same information in multiple places (so-called duplicate content). How is that possible if you do not intentionally copy pages to other places? One&hellip; <a class=\"more-link\" href=\"https:\/\/www.henselhosting.com\/blog\/search-engine-tip-prevent-duplicate-content-by-removing-wildcard-subdomain-from-dns\/\">Continue reading <span class=\"screen-reader-text\">Search Engine Tip: Prevent Duplicate Content By Removing Wildcard Subdomain From DNS<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":3576,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-2417","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","entry"],"_links":{"self":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2417"}],"version-history":[{"count":6,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2417\/revisions"}],"predecessor-version":[{"id":3577,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2417\/revisions\/3577"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/media\/3576"}],"wp:attachment":[{"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.henselhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}