Hello STM,
I am still very new to affiliate marketing, and I need help hosting a lander using Amazon CDN.
I've uploaded the files to S3.
I'm now trying to set up a distribution.
After I set up a distribution and the status changes to deployed, I try accessing the lander through the .cloudfront.net url.
When I do, I get this message:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Here is a screen shot:
https://gyazo.com/f9d87974c933814938bbf4124beae6b6
Any help is greatly appreciated. And if you need more information from me, please ask.
Thanks!
Figured it out!
Mod, can close this thread, thanks!
What was the solution, in case other people have the same problem in future?
Hi,
Old thread but how did you solve this as I am having this exact issue.
Thanks,
Christian
Yes I can access the S3 directly.
So for example, s3-ap-southeast-1.amazonaws.com/bucketname/index.html works fine.
Whereas, xxxxxxxx.cloudfront.net/bucketname/index.html does not. I get the xml error, access denied as OP showed.
I have solved it. Initially my Index file was hidden away in a folder inside my bucket. Therefore, changed this to being in the root folder (if that makes sense).
Then used link xxxxxxxx.cloudfront.net/index.html