Introducing Origin Basedir

1 minute read

We listen to our customers. We’re thus happy to introduce a new feature many of you have been asking for. Origin Basedir enables you to set a specific directory in your origin settings. This way, you can ensure the path to your files is hidden. Additionally, it can also help you bring order to your files.

Let me give you an example:

  • You have a file, say an image, and its URL is ‘’
  • With ‘’ as your origin, your file is served from the URL: This way, anyone can see the path to the directory of this file.
  • Origin Basedir enables you to set your origin to ‘’ so your file’s new URL would be: Now, only you can see the path.

Another way to look at Origin Basedir functionality is to create a specific resource for every type of files – images, stylesheets, scripts, videos, software or pretty much anything you serve through a CDN. Here’s what I mean:

  • Make a directory in your host with all files and name it according to the type of the given file, e.g. “videos”
  • Set the origin of a new resource to:
  • Optionally: set a cname of this resource  “videos”
  • Your videos will then be served from the URL:

Since we don’t limit our customers as to the number of CDN resources, you can create as many as you need.



We hope you’ll find this feature helpful. Make sure to let us know in the comments below. If you don’t have a CDN77 account yet, sign up now and try Origin Basedir yourself.

Leave a Reply

Your email address will not be published. Required fields are marked *