Hi,
I have little knowledge of cpanel. I use to host my domain and also setup my add-on domain.
My Issue-
say
Main domain= maindomain.com
addonDomain= addondomain.com
After adding addon Domain, cpanel create a sub-domain of main domain like
sub.maindomain.com and it links to addondomain.com.
The problem is the sub.maindomain.com is indexed in Google and it open the addon site & its content with same url(sub.maindomain.com).
Now, How can I prevent this sub.maindomain.com from indexing in Google. Since it is not hosted on any CMS like wordpress/joomla, where & what changing I can do in robots.txt file to prevent indexing.
Or is there any other solution.
Thanks
I have little knowledge of cpanel. I use to host my domain and also setup my add-on domain.
My Issue-
say
Main domain= maindomain.com
addonDomain= addondomain.com
After adding addon Domain, cpanel create a sub-domain of main domain like
sub.maindomain.com and it links to addondomain.com.
The problem is the sub.maindomain.com is indexed in Google and it open the addon site & its content with same url(sub.maindomain.com).
Now, How can I prevent this sub.maindomain.com from indexing in Google. Since it is not hosted on any CMS like wordpress/joomla, where & what changing I can do in robots.txt file to prevent indexing.
Or is there any other solution.
Thanks