I've followed a guide to set up CloudFront to use as a CDN on my Wordpress website. It was done using this guide.
Everything that WP Super Cache specifies is served by CloudFront however if a user goes to https://cdn.my-domain.com then the whole website is served. How do I stop this? I'd like just things in wp-content and wp-includes to be served.
I've tried reading all the documentation, but some of it isn't as clear as it could be. I've managed to set up an SSL certificate, however this is something I can't work out.
Thanks