Page tree
Skip to end of metadata
Go to start of metadata

This tutorial requires advanced knowledge. We recommend you get professionals to do this if you are not at an advanced level.
In phpFox v4.4.0, we have a new app "PHPfox_CDN_Service" to support using CDN Service (PULL method) to load static files of the site. This app will be available for the professional package.

 How to use this app with MaxCDN, KeyCDN

App Settings

  • Enable CDN Service: Turn on/off the app.
  • CDN URL: CDN URL provided by your CDN service (PULL method).

Working with MaxCDN

  1. Log in to MaxCDN.
  2. Create a PULL Zone for your phpFox site.




    (1). Name of the Zone.
    (2). Your phpFox site URL.
    (3). Label (optional)



  3.  After creating a PULL Zone, put the CDN URL of the zone to the app setting and it will work. All static files on your local server will be loaded via  CDN PULL Zone.

    SSL Configuation

     

    If your site is using SSL, you need to work an additional step to make sure the CDN works well.

    From zone setting, go to EdgeSSL section >> Shared SSL.

    Select Enable here, there will be a newly generated CDN URL for your site.

    Copy this URL and apply for your site in phpFox CDN Service app.



Working with KeyCDN

  1. Log in to KeyCDN .

  2. Create a PULL Zone for your phpFox site.


    (1). Name of the Zone.
    (2). Zone status: active or inactive.
    (3). Zone type: select Pull
    (4).Your phpFox site URL.

  3. After creating PULL Zone, put the CDN URL of the zone to the app setting and it will work. All static files on your local server will be loaded via  CDN PULL Zone.