Set Up Your Resource and CNAME

First you need to set up a website (resource) and set your DNS using your hosting provider’s admin (if your hosting provider uses cPanel you can see our guide called Integrate With cPanel Hosting).

Configure PrestaShop

1. Log in to your PrestaShop admin area, go to Advanced Parameters and click on Performance.

2. Go to CCC (Combine, Compress and Cache) and turn on all the elements just like in the image below.

3. Then go to Media servers (use only with CCC). In Media server #1 enter your Hostname and save changes. You will find the Hostname in CDNlion™ Dashboard.
See steps 4. – 6. for more details.

4. You should have already setup a website (resource) using CDNlion™ Dashboard. The setup provided you with a CNAME which has been set to pull the content from your domain. Open CDNlion™ Dashboard (app.cdnlion.com) to get your unique Hostname.

5. When you open Dashboard, find the website (resource) you are trying to configure and click Manage.

6. You will see Information on how to set up DNS right away. Under number 3 you should see the Hostname (Name) you’ve already set up.

Test

7. Awesome, you’re done! To check if everything is working go to your CDN host name (from step 6), choose an asset (like an image), right-click on it and select inspect the element. You will see the code of this asset being sources from your hostname – like for example cdn.viacaroli.cz/image.jpg instead of www.viacaroli.cz/image.jpg.