Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to Remove URLs from Google Search Engine

Our hosting provider has a internal sub domain like so: n265-269-265-265.cnet.hosting.iiii.

The internal sub domain is redirected to our registered domain and is publicly available. Google indexed the internal domain content and now it is appearing on search pages. We'd like it if Google removed the internal sub domain content and we would like to setup a redirect to the main domain.

Our hosting provider is actually a sub-provider and as far as we know it does not fully control the main hosting domain and I am stuck in a discussion with them about what can be done. I would like a solution to this issue.

share|improve this question

marked as duplicate by paulmorriss, John Conde Jul 19 '12 at 11:42

This question was marked as an exact duplicate of an existing question.

You can remove content from google by using Google webmaster tools, see this page on Google which should help you to answer your query.

You will need to register your subdomain with webmaster tools and authorise it before you can remove it but it's a very easy process.

The other thing you may want to consider is adding a canonical URL to the page, this way Google will know that the URL should be the proper one and not the subdomain.

share|improve this answer
That's not our domain. The main domain is of our hosting provider. – blagi Jul 19 '12 at 12:26
You should still be able to register the directory that your files are in – Vince Pettit Jul 19 '12 at 12:34
Looks like I solved this issue with .htaccess:<pre>RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(exact-subdomain-inside this bracket)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=410,L]</pre> – blagi Jul 19 '12 at 13:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.