Loading...
 

Amazon CloudFront


This is to setup a Content delivery network

You need an account with Amazon

  1. Create Distribution
    • Delivery Method: Download
    • Choose Custom Origin
      • Origin DNS Name is the domain name of your site ex.: info.tiki.org
      • Protocol Policy: HTTP Only (unless you know what you are doing)
      • HTTP Port: leave at the default 80 (unless you know what you are doing)
    • Allowed Connections: HTTP and HTTPS
    • CNAMEs: leave empty unless you know what you are doing
    • Default Root Object: leave empty if your siteis at the root. Otherwise, put the subdirectory (ex.: 7x/)
    • Loggin: Off
    • Comments: You can put a comment here to distinguish this distribution from the others.
    • Distribution Status: Enabled
    • Click "continue"
  2. Wait a while for the distribution to be active
  3. Find out your domain name which should be something like abcde12345.cloudfront.net
  4. visit http://abcde12345.cloudfront.net/img/icons/error.png (using the exact domain name provided by cloudfront)
    • This should confirm if it's working. It can take a bit of time before DNS has propagated. If you see a little image, it means the CDN is active.
  5. go the performance admin panel of your Tiki instance
    • tiki-admin.php?page=performance
      • Content Delivery Network: http://abcde12345.cloudfront.net/
      • Content Delivery Network (in SSL): https://abcde12345.cloudfront.net/
  6. Then "view source" of pages rendered by Tiki and you should see abcde12345.cloudfront.net in the code
  7. Empty your cache by visiting tiki-admin_system.php?do=all




List Slides
Amazon CloudFront This is to setup a Content delivery network You need an account with Amazon Create Distribution Delivery Method: Download Choose Custom Origin Origin DNS Name is the domain name of your site ex.: info.tiki.org Protocol Policy: HTTP Only (unless you know what you are doing) HTTP Port: leave at the default 80 (unless you know what you are doing) Allowed Connections: HTTP and HTTPS CNAMEs: leave empty unless you know what you are doing Default Root Object: leave empty if your siteis at the root. Otherwise, put the subdirectory (ex.: 7x/) Loggin: Off Comments: You can put a comment here to distinguish this distribution from the others. Distribution Status: Enabled Click "continue" Wait a while for the distribution to be active Find out your domain name which should be something like abcde12345.cloudfront.net visit http://abcde12345.cloudfront.net/img/icons/error.png (using the exact domain name provided by cloudfront) This should confirm if it's working. It can take a bit of time before DNS has propagated. If you see a little image, it means the CDN is active. go the performance admin panel of your Tiki instance tiki-admin.php?page=performance Content Delivery Network: http://abcde12345.cloudfront.net/ Content Delivery Network (in SSL): https://abcde12345.cloudfront.net/ Then "view source" of pages rendered by Tiki and you should see abcde12345.cloudfront.net in the code Empty your cache by visiting tiki-admin_system.php?do=all