Zeydoo
MEET REWARDIS OFFERS – THE ULTIMATE DESTINATION FOR SOI SWEEPSTAKES

Guide Tutorial Step-By-Step: how to create and host your landing page, the right way on amazon AWS.

Partners.House
Hi,
While creating a distribution in Cloudfront I am getting this error consistently. Can anyone please help me with this issue @Luke @Tyoussef?

com.amazonaws.services.cloudfront.model.InvalidViewerCertificateException: To add an alternate domain name (CNAME) to a CloudFront distribution, you must attach a trusted certificate that validates your authorization to use the domain name. For more details, see: https://docs.aws.amazon.com/AmazonC...AMEs.html#alternate-domain-names-requirements (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidViewerCertificate; Request ID: b8d6887f-630e-11e9-8259-9b1c83be8bf1)
When i try to press "Create distribution" so I can change my Cname I get an error asking for a trust certificate, is this normal? Because I didn't see it ask for that in the tutorial. "com.amazonaws.services.cloudfront.model.InvalidViewerCertificateException: To add an alternate domain name (CNAME) to a CloudFront distribution, you must attach a trusted certificate that validates your authorization to use the domain name. For more details, see: https://docs.aws.amazon.com/AmazonC...AMEs.html#alternate-domain-names-requirements (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidViewerCertificate; Request ID: e1477b12-6475-11e9-8259-9b1c83be8bf1) "

this is the solution guys:
 
I am too seeking the resolution for the same problem...
@Alok Saharia this is the solution

do u have any coupon code ?
take advantage of afflift discount from here www.purelander.com/afflift

@Tyoussef you mentioned in your post there is a 2nd part. Is that required? Do I need Vultr and Amazon AWS?
you only need amazon aws, vultr is only if you don't want to use amazon aws for some reason, but I do recommend amazon aws.

I've already set up a S3 bucket + Cloudfront distribution for US (with domain example-com-usa.xyz). How do I set up another for Asia? Do I need to have a different domain, e.g. example-com-asia.xzy?
the best thing to organize your work is to create another bucket and use a new domain name, the domain name is only 1$, since your old domain name has the word "USA" in it.
 
Dear Tyoussef SS ....I take amazon s3 package which is one year free but cannot configure it properly with my namecheap domain .....and 2nd question ...how can i connect multiple domain with s3 and how can take subdomain with Amazon s3 hosting ......if you clear the issue its great for me .
 
Some nice AWS tuts there :cool:
perfect am glad you found it good.


but cannot configure it properly with my namecheap domain
what errors do you get ?.

how can i connect multiple domain with s3
very simple to avoid any confusions, all you have to do is create another bucket and go create a new distribution and link your new domain name with it so simple.

how can take subdomain with Amazon s3 hosting
you don't need subdomains, all you have to do is create a folder for each landing page, so that your landing pages online will be like this:
Code:
https://domain1.com/lp1/index.html
https://domain1.com/lp2/index.html
https://domain1.com/lp3/index.html

feel free to replay if you still have any problem.
 
Dear Tyoussef, I just signed up yesterday for Purlander, and I've found your AWS/Namecheap very helpful. I am hoping you might help, it appears I'm at the last step and can not finish it. I have my Domain Name, I generated a SSL Certificate in AWS, confirmed the email. Then, when in CloudFront when I enter the bucket and domain name I am not provided with the opportunity to select custome SSL? I've attached 3 screenshots that might assist. Any help would be greatly appreciated!
 

Attachments

  • S3_Management_Console.png
    S3_Management_Console.png
    146.6 KB · Views: 541
  • AWS_CloudFront_Management_Console-2.png
    AWS_CloudFront_Management_Console-2.png
    174.6 KB · Views: 540
  • AWS_CloudFront_Management_Console.png
    AWS_CloudFront_Management_Console.png
    174.6 KB · Views: 542
Dear Tyoussef, I've figured out the problem, I did not use an XYZ ending!
that's great.
now keep going and run the campaigns, and start the thread of your journey in the forum, so you can get ideas and suggestions from other afflifters :).
good luck @Tripper
 
Hello Tyoussef. I bought Purelander. I wached your tutorials about Amazon s3. I'm facing some problems, so maybe you can help me. I created landing page and uploading to CloudFront, I bought domain name from Namecheap and linked to S3 bucket. It was woking that day ( two days ago), but yeserday and today only work link-domain from CloudFront but domain from Namecheap don't work.
 
Hello Tyoussef. I bought Purelander. I wached your tutorials about Amazon s3. I'm facing some problems, so maybe you can help me. I created landing page and uploading to CloudFront, I bought domain name from Namecheap and linked to S3 bucket. It was woking that day ( two days ago), but yeserday and today only work link-domain from CloudFront but domain from Namecheap don't work.
Okay, do you get any errors ?.
what is the problem ?.
 
When I copy the link from CloudFront Distributions the landing page loading properly but when I use domain name associated with link from CloudFront the landing page won't load.
 
Hello Tyoussef. I bought Purelander. I wached your tutorials about Amazon s3. I'm facing some problems, so maybe you can help me. I created landing page and uploading to CloudFront, I bought domain name from Namecheap and linked to S3 bucket. It was woking that day ( two days ago), but yeserday and today only work link-domain from CloudFront but domain from Namecheap don't work.
When I copy the link from CloudFront Distributions the landing page loading properly but when I use domain name associated with link from CloudFront the landing page won't load.
It sounds like you linked your domain to S3, but instead, you need to link your domain you bought to CloudFront.
 
When I copy the link from CloudFront Distributions the landing page loading properly but when I use domain name associated with link from CloudFront the landing page won't load.
okay, I sent you a pm, check your messages.

It sounds like you linked your domain to S3, but instead, you need to link your domain you bought to CloudFront.
@Nick, I don't know what the problem is exactly, I will help him in person and come back here and post the solution.
 
Top