• Create a Pull Zone inside 5centsCDN dashboard before you start with the drupal CDN integration.
  1. Login to 5centsCDN dashboard
  2. Go to Zones and select ” HTTP Pull”.
  3. Click the green plus button to create a new pull zone.

4. Provide your static website URL which needs to be accelerated at the Your Origin Server Hostname. 5. You can set your custom CNAME that can be used to retrieve your content so that the request will be redirected to our CDN. To make this happen you need to contact your DNS provider and add the custom CNAME in the DNS record to redirect the same to our CDN. 6.  Under Cache Settings, you can set the cache expiry period as required. 7.  Ignore Query String: When enabled, this option will treat each of the uploaded files with Query Strings as a separate cacheable file. 8.  Origin IP Resolution configures your zone to use a different IP address for your origin server. 9.  By setting the Bandwidth Limiter you can limit the speed based on the ‘Rate’ value after reaching a specified Bandwidth Limit. 10.  Click on the Create Button.

  • Log in to your Drupal admin panel.
  • Click on the menu item “Modules”, then click “Install New Module”.

  • Enter the CDN Module URL: http://ftp.drupal.org/files/projects/cdn-8.x-3.2.zip (check the official Drupal CDN module for the lastest version) and click “Install”.

  • Go to the Extend page and under Web Services select both “CDN” and “CDN UI” then click Install.

  • Navigate to Configure > Web Services > CDN Integration. Set the CDN status to enabled and enter the CDN URL that you get from the 5centsCDN dashboard (e.g. https://xxx.yyyy.com). You can also use your Zone Alias (e.g. http://cdn.yoursite.com). Save the changes.

 

Leave a Reply