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

Lets say a company has multiple commercial web properties that happen to use a lot of the same images on each site. For SEO reasons, the sites must not appear to be related to eachother in any way. This means that the sites can't all link to the same image, even though they all use the same one. Therefore, an image is uploaded to each site and served from each site separately.

In order to improve maintainability and latency, lets say the company wanted to use a CDN service.

What I'm wondering is, if you upload a file, like an image or something, to a CDN, is there basically one single URL that you access that image at? Or do some (or all) CDN services offer alias URLs so that you can access the same resource from multiple URLs?

Example of undesirable situation: Both sites link to the same file URL

Site ABC links to <img src=""/>

Site XYZ links to <img src=""/>

Example of DESIRABLE situation: Both sites link to the same file via different URLs

Site ABC links to <img src=""/>

Site XYZ links to <img src=""/>

So in the end, there is only one single file, myimage.jpg on the CDN server, but it is accessible from multiple URLs. Is this possible with CDN services?

I know this would make browsers cache the same image twice, but at least it would be better for maintainability. Only one file would ever have to be uploaded.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

make a CNAME to the CDN for each web property. You will have to tell each CDN bucket about these CNAMEs, but it will allow you to have the same content served from multiple URLs.

share|improve this answer

Most of CDNs do, for example: MaxCDN, edgecast

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.