My Website Can Be Accessed by Using Any Random Subdomain - Viral Tech 😎

Go to content

My Website Can Be Accessed by Using Any Random Subdomain

Recently I had a bit of a shock when I discovered my website that was hosted on a dedicated IP was being indexed by Google using subdomains that I had previously deleted and no longer used. The subdomains were all pointing to my main website, which was disastrous as this would be flagged as duplicate contents by search engines.

For example, I used to have a subdomain called that had a few post on it many months ago, but I decided to delete it because it wasn't being updated. However, because there was a few links pointing to that particular subdomain and Google previously knew about it, it was inevitable that Google bots would crawl it and check if there was any updates.

This wasn't a problem with my old web hosting company, and if you typed in or any random subdomain into a web browser, it would just return a "server not found" message, but after migrating to a new web host (, several months later I discovered that any random subdomain that I hadn't created or had previously deleted would load and point to my main website rather than return an error message.

I could type absolutely anything such as or and they would all point to the main website. Random subdomains in themselves weren't a major issue, but it was subdomains that I had previously registered and used because search engines knew about these and would inevitably start indexing them.
So, What Was Causing the Random Subdomain Problem?
After contacting, I was told it was a due to wildcard entry ( * record) set up on my domain and that it had been removed by a technician and my website would take between 1 and 12 hours to resolve itself. I'd never heard of a wildcard entry before, but after a little bit of research, it allows your domain name to be accessed by any random subdomain such as

Okay, that sounded absolutely fine, so I waited the recommended time, but the random subdomain problem still persisted. hadn't done a particularly good job and only removed the wildcard entry from one of my domains when in fact, I had 4 domains hosted with them. After several more emails to support explaining the situation they still couldn't fix the problem so rather waste more time going round and round in circles with their rather unhelpful support I decided to try to fix the problem myself.

It was a fairly quick and simple job. All I had to do was go into "DomainCentral" click on the "More Info" button on the affected domain, and select DNS. After that, you will see Modify: with a drop-down box where you need to choose "A Record".

After that, you simply scroll down and look for * (asterisk) and remove it by using the box on the right-hand side. Once you have removed the wildcard entry, it will take anywhere from a few seconds to several hours for the random subdomain problem to resolve itself.

I have no idea whether apply the * (asterisk) wildcard entry as standard or if it was caused by a technical error. Either way, it was extremely annoying and could have easily triggered search engine penalty because of duplicate contents.

If you do find that your website can be accessed by any random subdomain then this is almost certainly the problem. Some Webmasters may want to enable this feature, but you have to be careful that Google (or any other search engine) doesn't start indexing those subdomains because it will cause a duplicate contents problem. If you do have a wildcard entry enabled make sure search engine robots cannot index those random subdomain pages.

Whatever web host or domain company you are with the process will be pretty much the same. Simply log into your Control Panel and access your domain details and look for the DNS and A Record option and delete that * (asterisk)
Add a comment
comments powered by Disqus
The New RT-AX88U Wi-Fi 6 Router from Asus
You've probably never heard of it, or not until now, but Asus is releasing a new Wi-Fi 6, or 802.11ax wireless router.
Published by Webmaster - 2/11/2018
The Camera Happy A9 Phone from Samsung
South Korean electronics manufacturer Samsung's is adding a new phone to A Series called the Galaxy A9 and its the world's first smartphone with four rear cameras.
Published by Webmaster - 17/10/2018
A New Phone from Razer Called the Phone 2
About a year ago, Razer, more commonly known for making game accessories, released its first phone. Now they've had a second attempt and named it simply the Razer Phone 2.
Published by Webmaster - 16/10/2018
Google Decides to Pull the Plug on Its Social Media Platform, Google Plus
After low user engagement and the discovery of a software error, that potentially exposed the data of hundreds of thousands of its users, Google has decided to pull the plug on its social media platform.
Published by Webmaster - 15/10/2018
3 New Surface Devices from Microsoft
Microsoft is about to release new Surface devices, namely the Surface Pro 6 and Surface Laptop 2, both with a matte colour option, and the Studio 2.
Published by Webmaster - 14/10/2018
Copyright © ViralTech.Co.Uk - All Rights Reserved
Back to content