Set Up Your First CDN
-
Login to the CDNify Dashboard. Click the Create Resource button.
-
Input your website’s URL in Resource Origin, e.g. demo123.org. Next, add your Resource Name, this is a unique identifier so it can be anything.
-
Now hit Create. Your origin server’s content is now cached on the CDN - It can take up to a few minutes to be cached across the entire network.
-
Now you need to update your origin server’s assets within your website’s files. *Be sure to backup files before changes are made*.
-
Grab the files you want updating, e.g. index.html. Open the files in a text editor and press ctrl + f or cmd + f.
-
Search for files you want to update, for example enter assets, then change the pathway e.g. http://demo123.org/assets/images/favicon.ico to https://demo123.a.cdnify.io/assets/images/favicon.ico
-
Save the file, then upload to your origin server’s storage. View your website’s page source to see the changes in effect.