How to use the CDN

  1. Log into the Enter Cloud Suite Dashboard.

  2. In the Dashboard, click on CDN in the left menu.

  3. Once the page loads, click on the Add Site button on the top right.

  4. You now have to fill the form in order to create a new CDN “site”: in Site, you have to configure the URL you will use to distribute your static files trough the CDN. In Origin, you must set the existing source for your files, the one the CDN will fetch objects from:

  5. Let’s suppose that you want to serve via the CDN static objects hosted on www.entercloudsuite.com: by setting “www.entercloudsuite.com” as “Site” and “static.entercloudsuite.com” as “Origin”, when you will request a file (ie: http://cdn.entercloudsuite.com/logo.png) the CDN will take care of fetching it from the origin, will store the object on its nodes and serve it to you via the nearest node. On subsequent requests, until cache expiry, the origin won’t be queried anymore before serving that given file.

  6. Once the site is created, you should see the entry in the CDN section of the Dashboard.

  7. If you want to modify the origin of the CDN Site, you can click the blue button with a white pencil.

  8. If you want to delete the CDN configuration, click on the red button: a confirmation popup will appear once done.