Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

I am planning to serve images on a CDN using a CNAME: images.mysite.com. I am doing this because CDNname.mysite.com makes ugly URL's and MAY be bad for SEO (debatable).

Will Google crawl the subdomain (only storing images and nothing on the main domain will link to it).

If so, would a simple robots.txt be suitable? Is this even possible seeing that the subdomain is ONLY serving images, JS, CSS i.e. not HTML?


share|improve this question
I answered a related question yesterday, which contains some reference links, and there's a link to a duplicate question there as well: webmasters.stackexchange.com/questions/49191/… It would be interesting to hear people's experiences regarding this. – dan Jun 5 '13 at 6:04
Google associates images on the rendering page, it doesn't care where they are hosted. – Simon Hayter Jun 5 '13 at 11:21

Since the images on the subdomains would be linked from the main domain, Google will certainly be aware of the subdomain and will certainly grab the linked images. I don't believe you will get the subdomain actively crawled as a separate entity, though. The algorithm is smart enough to detect that you are just serving resources off the subdomain instead of actively hosting real content and index accordingly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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