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

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…

Set Default Homepage

By Rutger | August 21, 2020

Three years ago, we added a function to the Control Panel, called “Standard Homepage”, and we think it deserves a bit more attention. With this function, you determine where your website ‘lives’ as it were and it is very positive for SEO and conversion. This is because your website is accessible by default in several ways: http://www.exampledomain.nl (most used)…

WordPress Downgrade Plugin

By Rutger | August 14, 2020

If for some reason you run into an issue when you upgraded WordPress, you can simply restore the backup that you made (you made one, right?) If the issue is with WordPress core, and for example your theme does not (yet) support the new WordPress version, then it’s good to know there’s a downgrade plugin…

WordPress 5.5 “Eckstine”

By Rutger | August 11, 2020

[Upgrade issues? Check the downgrade plugin post] Here it is! WordPress 5.5 “Eckstine” is finally released. The 39th version of WordPress is named after the jazz musician Billy Eckstine. You can download the latest version of WordPress or update in your dashboard. With the new WordPress 5.5 “Eckstine”, your site gets new power as it is…

Two Factor Authentication (2FA) for Control Panel

By Rutger | August 11, 2020

The control panel already limits unauthorized login attempts to prevent anyone from accessing your sensitive information. You can also add an extra layer of protection by enabling two-factor authentication. Two-factor authentication also known as two-factor verification or 2FA is an additional step in the login process that requires users to present a piece of information that…