Home > Questions and Answers > General Questions

Need Help Using Amazon CDN (7)


09-24-2016 04:54 AM #1 banana123 (Member)
Need Help Using Amazon CDN

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!


09-26-2016 01:38 AM #2 banana123 (Member)

Figured it out!

Mod, can close this thread, thanks!


09-26-2016 09:14 AM #3 caurmen (Administrator)

What was the solution, in case other people have the same problem in future?


04-02-2018 03:27 PM #4 discodiscodisco (Member)

Hi,

Old thread but how did you solve this as I am having this exact issue.

Thanks,
Christian


04-02-2018 03:46 PM #5 platinum (Veteran Member)

Quote Originally Posted by discodiscodisco View Post
Hi,

Old thread but how did you solve this as I am having this exact issue.

Thanks,
Christian
Are your landing pages accessible directly from S3 links?


04-02-2018 04:09 PM #6 discodiscodisco (Member)

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.


04-02-2018 04:13 PM #7 discodiscodisco (Member)

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


Home > Questions and Answers > General Questions