Search Engine Tip: Prevent Duplicate Content By Removing Wildcard Subdomain From DNS

If you have a website, it is important to only publish it in one place. 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 possibility is that your website can be accessed via multiple URLs. For example, we will give you a temporary URL if the domain has not yet been moved or is in the air. In addition, the DNS is set up so that you can come to your site via any subdomain. If you use WordPress you already set the website URL via Settings> General. If visitors are received on another (sub) domain, WordPress will immediately send the visitor to the correct domain.

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):

  1. Log in to the account center https://my.codeorange.co.th/login
  2. Select the domain that you want to set;
  3. Look under “Manage Subdomains” (and dig into your memory) and write down the subdomains that you use;
  4. Select “Name Servers”;
  5. See if you find a line with an asterisk and an A, something like this: * .example.com A 1.2.3.4 3600
  6. 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. You also need the IP address in step 8;
  7. If you do see this rule, check-in the browser whether www.example.com but also www123.example.com , for example, remain in the browser with identical content, without redirecting the visitor to the main domain;
  8. 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.
    Note  that if you have other subdomains in use (see step 3), they will stop working if you delete the line with the asterisk. 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).

After changing the Name Server data, it may take a while for the changes to work. Internet providers can sometimes remember the data up to a day later. Therefore, for testing after step 8, it is better to use subdomains that you have not previously entered in the browser.

Better DNS settings make everyone happy. So get started and if you have any questions, we are always there for you.

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 “Manage Subdomains”.

PPS: For more advanced use you can also indicate to search engines which of the identical pages is the actual source, by means of “canonicalization”, see also: https://support.google.com/webmasters/answer/66359?hl=en

Update: Let’s Encrypt Extends Support for Android 7 or Older Devices for Three Years

By Rutger | January 13, 2021

Back in November, Let’s Encrypt an open certificate authority announced an end to its partnership with Identrust and to “Standing on Our Own Two Feet – Let’s Encrypt”. The supposed part ways will cause compatibility issues with Android 7.1.1 or older to not be able to access HTTPS websites.  In its new announcement, Let’s Encrypt has…

Apple and Cloudflare team up to stop your ISP from seeing which websites you visit

By Rutger | December 16, 2020

Apple and Cloudflare team up to develop a new internet protocol called “Oblivious DNS-over-HTTPS,” or “ODoH,” which can prevent Internet Service Providers (ISP) from knowing which websites you visit. When visiting a website the request sent can be logged and tells your ISP which websites you visited, down to the hostnames and subdomains. This information…

Standing on Our Own Two Feet – Let’s Encrypt

By Rutger | November 13, 2020

[Update] Let’s Encrypt Extends Support for Android 7 or Older Devices for Three Years Let’s Encrypt announced its partnership with IdenTrust will come to an end by September 1, 2021. Except for its own root certificate, Let’s Encrypt has been using a cross-signed certificate from IdenTrust. The decision to part ways is dubbed as the…

Sharing Meals with Students in Roi Et, Thailand

By Rutger | October 26, 2020

“If you make the world better for kids, you make the world better for everyone”. We have faced a lot of hurdles this year, and I know everyone can’t wait to put this year behind us and start anew.

Why using special DNS Servers is beneficial?

By Rutger | October 14, 2020

With the internet becoming an integral part of every business today, it has also increasingly become important that DNS servers remain stable, secure, and resilient against DNS attacks. By default, you’re most likely using your Internet Server Provider (ISP) DNS servers. DNS queries through ISP’s are vulnerable to attacks as it does not always use…

Make WordPress Websites Much Faster In 5 Steps

By Rutger | September 25, 2020

What can you do to make your WordPress website faster? A fast loading website provides an improved user experience and higher rankings in Google and that is good for your website/business.   1. Install a caching plugin What is it? Caching ensures that your page does not have to be “made” continuously. Making it costs…

New Let’s Encrypt SSL Certificates – Free SSL But Beware

By Rutger | September 18, 2020

We offer Let’s Encrypt SSL certificates for a few years now so that together we make the internet more secure. By removing the barrier that SSL certificates cost money, and by easily installing them by pressing a button in the control panel, there is virtually no reason not to use SSL anymore. It is good to…

Keep Your WordPress Site Safe in 6 Steps

By Rutger | September 11, 2020

This is a short but powerful guide on how to keep your WordPress website safe, and protected against hackers and other scum.  Roadmap Step 1: Make sure you have a good backup plan.Ask yourself this question. If your site is now suddenly deleted, can you restore a backup from 1 day back and also from 1…

Activate A Better Spam Filter For Free

By Rutger | September 4, 2020

The new spam filter that we introduced in 2017 works very well. Because of the positive feedback, we have decided to offer this permanently on all our packages without extra costs! You can drastically reduce spam with one click: Via the new account center on my.codeorange.co.th/login you will find an “Advanced Settings” tab under Email settings where you…

Search Engine Tip: Prevent Duplicate Content By Removing Wildcard Subdomain From DNS

By Rutger | August 28, 2020

If you have a website, it is important to only publish it in one place. 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…