Current time: 11-24-2020, 03:25 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why can a website on a CDN be accessed via two different URLs?
02-10-2011, 11:39 PM
Post: #4
RE: Why can a website on a CDN be accessed via two different URLs?
Here is what i do to avoid this duplicate url with origin pull CDNs.

1) Old setup

Website : http://www.example.com/
Media : http://www.example.com/media/

New setup :

Website : http://www.example.com/
Media : http://static.example.com/media/
CDN : cdn.example.com with static.example.com as origin server

And setup webserver (.htaccess, nginx, what have you) to only serve /media directory on static.example.com ... so now there is no way the normal pages will 'leak' to the cdn.

cdnplanet.com: We help you select the right CDN
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Why can a website on a CDN be accessed via two different URLs? - sajal - 02-10-2011 11:39 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)