-
Get your CloudFront Domain Name
Make sure your site can be visited directly through the CloudFront Domain Name
From the WP Dashboard, navigate to LiteSpeed Cache > Settings > CDN.
Set Enable CDN to ON
Enter
CDN URL as your CloudFront Domain Name
Enable the relevant
Include buttons. e.g.
Images and
CSS. For this example, if we don't
Include JS, then we also need to remove
.js
from
Include File Types
Set up
Original URL as your original domain name (and sub-folder if you are using one)
Check that the CSS is served from CloudFront
Check that the JS is served from the original domain