Home > The Newbie Zone > Questions and Answers

How can I put and test many landings on S3 + Cloudfront? (7)


12-30-2016 12:28 PM #1 babskley (Member)
How can I put and test many landings on S3 + Cloudfront?

Good day,

Please give me advise, how I have to put A/B/C landings on S3 for split test?
Do I have to create folder for each landing (A-land, B-land, C-land) http://joxi.ru/1A5ZpxBc8YMzrE?
How the link to each landing will look like (sub.domain.com/a-land/index.html? - it's not work...)?


12-30-2016 12:36 PM #2 mrbraun (Moderator)

Hello!
Yes. You need to create a folder for each lander. I recommend you to create folders for geos and for verticals.
For example if you run PL antivirus lander, your links will be:
domain.com/pl/av/lp1
domain.com/pl/av/lp2
domain.com/pl/av/lp3


12-30-2016 12:42 PM #3 babskley (Member)

Quote Originally Posted by mrbraun View Post
Hello!
Yes. You need to create a folder for each lander. I recommend you to create folders for geos and for verticals.
For example if you run PL antivirus lander, your links will be:
domain.com/pl/av/lp1
domain.com/pl/av/lp2
domain.com/pl/av/lp3
Do I need to clean cache on CloudFront after upload all lps? Do I need any additional settings on S3/CloudFront.
Now I can see landing if I put it in main domain directory (not in folder) - sub.domain.com/index.html. But the link to lander in folder doesn't work


12-30-2016 03:56 PM #4 babskley (Member)

I cleaned cache on CloudFront, but I can see lp only if I upload it in main domain directory. If I upload it in the folder I see Access Denied


12-30-2016 09:16 PM #5 osmiumman (Member)

You have to edit permissions to "read", and then you must invalidate the Cache. I can reconmend the S3 Browser for this.


12-30-2016 10:33 PM #6 babskley (Member)

Quote Originally Posted by osmiumman View Post
You have to edit permissions to "read", and then you must invalidate the Cache. I can reconmend the S3 Browser for this.
Did you mean that?

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::domain.com/*"
}
]
}


12-31-2016 10:06 AM #7 babskley (Member)

Thanks all, was my mistake. I have indeex.html insteed index.html in folder


Home > The Newbie Zone > Questions and Answers