Current time: 02-22-2020, 07:51 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-07-2011, 11:14 PM
Post: #2
RE: Why can a website on a CDN be accessed via two different URLs?
CDN's (at least the easier to use ones) generally run as a reverse proxy. You tell them the path to the content and they will fetch it automatically as needed. The path you provide can be anything you'd like - a custom server, a special directory or even the root of your site (which is what I did).

Even though it will sort of work, you're not supposed to access the site's content itself through the CDN, just the resources get pulled from there when you access the main site. By having the CDN overlay the root of my site it becomes an easy config setting to toggle the CDN on or off. If I need to turn it off, the site just works and I don't have to keep two copies of the files or worry if something isn't in the right directory.
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? - pmeenan - 02-07-2011 11:14 PM

Forum Jump:


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