I have a site that is available through 2 domains. One domain is one that I got for free with a hosting plan and don't want to promote. However when I perform search queries, pages from my site on that domain pop up.
What techniques are there to avoid the one domain from indexing while the other is perfectly indexed? Remember it's one hosting space with the exact same files on.
I have already submitted it in Google webmaster tools but that only works for Google obviously.