How to hide subdomains from Google search?

If you have subdomains that you want to keep from being indexed by Google along with you main account domain, you can do so with Robots.txt

For example, if your main domain is example1.com and you have a subdomain named example2.com and Google is indexing it as "example2.example1.com" you can avoid Google from indexing as such.

In the root of /public_html for your main domain example1.com add the following to robots.txt for any add-on domains:

User-agent: *
Disallow: /example2.com

Any additional domains you would add an additional line:

Disallow: /example3.com
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

Updating DNS records on a domain purchased without hosting?

DNS records changes can be made on domains purchased with us without hosting from our client...

I bought an additional domain name from HostMantis, how do I use it with my account?

When you purchase an additional domain name from HostMantis, it will automatically be set to use...

I've updated my nameservers but my domain doesn't work!

Nameserver updates are not always instant and it all depends on how fast your local ISP updates...

How to get the EPP/Transfer code for my domain I registered with HostMantis?

If you would like to transfer a domain you purchased from HostMantis to another registrar and...

How long does it take to transfer my domain to HostMantis?

Once the domain owner/registrant approves the transfer request, the losing registrar has 5 days...