Mobile app version of vmapp.org
Login or Join
Kaufman445

: Joomla Website Creating Automatic Unwanted Subdomains Suddenly we are facing this strange issue. Our problem is that, lately Google has started indexing subdomain (http://mail.hafoos.com) instead for

@Kaufman445

Posted in: #Joomla #MultiSubdomains #Subdomain #UrlParameters

Suddenly we are facing this strange issue. Our problem is that, lately Google has started indexing subdomain (http://mail.hafoos.com) instead for our original/main domain (http://www.hafoos.com). All the internal links are having the very same issue with the extra sub domain "mail" added to them.

We have separate url for mail logins i.e hafoos.com/webmail & these sub domains were never really created by us & are completely redundant. Everything was almost fine, until 2 days back when we figured this whole issue. We are afraid that if we do not fix this issue, it's going to hurt our SEO rankings soon. How can we remove all the sub domains url's from Google index so that our main domain comes up in search results & how did it get there at the first place.

This is more of a cry for help. Any help would be appreciated.
Thank you!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh106

The issue that you are having is in relation to cPanel and your web host. Typically a default install of a cPanel hosting account will setup various services that can be accessed by your domain. Often mail. or webmail. are automatically added to the DNS records and will route users that access these sub domains to the webmail portal.

In your case the hosting server uses: mail. and you can confirm this by navigating your browser to the following URL: mail.hafoos.com:2083/. Normally accessing mail. on port 80 or 463 will redirect the user to port 2083 and this is something your server is not doing.

If you have an WHM account then you can modify the ZONE file records and simply remove mail 1200 A 108.161.134.167 and this will stop Google or anyone else being able to access that sub domain.

Most often users will use a standard cPanel account which does not have any option to allow you to edit the zone file, if this is the case then you need to contact your web host and have them either:


Fix the redirect from port 80/443 to 2083.
Delete the A record mail within your local DNS zone file.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme