The CDN module add-on for Drupal is altering the URLs, so your static content will be loaded from the CDN servers, as opposed to your origin server. The module provides only “Origin Pull”, which is used as a domain name rewriting mode.
To integrate Universal CDN with the Drupal CMS, follow the steps outlined below:
1. Log into your Drupal Admin Panel and click on “Manage” ⇨ “Extend” ⇨ “Install New Module”.
2. Then click on “Manage” ⇨ “Configuration” ⇨ “Web Services” ⇨ “CDN integration”.
3. In the “Install from a URL” box, enter the CDN Module URL:
http://ftp.drupal.org/files/projects/cdn-8.x-3.0.tar.gz (check the official Drupal CDN Project Page for the newest stable version) and click on “Install“.
4. In the CDN settings tab tick the “Serve files from CDN” status box and click on the “Save Configuration” button.
5. Navigate to “Details” and select “Origin Pull“. Enter the Universal CDN URL (e.g. http://10001-5.b.cdn13.com) in the “CDN Mapping” box.
6. Click on the “Save Configuration” button.
After making the configuration changes, you can check if the URLs are being rewritten by loading your website and reviewing the source code of your page by using browsers developer tools. For additional information go to Browser Dev Tools.
If your origin URL is rewritten by the Universal CDN zone URL you are all set.
For more information about the plugin, visit www.drupal.org/project/cdn.