We have site enabled with subdomain and these subdomain names are created by end users.
Consider the parent site as www.mysite.com and there can be different subdomains like a.mysite.com , b.mysite.com etc
I want to prevent specific subdomains from appearing in google search. i.e I want a.mysite.com listed in google search but I do not want b.subdomain.com
The root folder is common for all the subdomains.