Mobile app version of vmapp.org
Login or Join
Gail5422790

: Mydomain.com is working but not www.mydomain.com saying invalid certificate On aws, I created an two s3 buckets. One for mydomain.com and one for www.mydomain.com. i selected the option "use this

@Gail5422790

Posted in: #AmazonAws #AmazonCloudfront #AmazonS3 #Route53

On aws, I created an two s3 buckets.
One for mydomain.com and one for mydomain.com.
i selected the option "use this bucket to host a website" for mydomain.com and selected "Redirect requests" on mydomain.com pointing the target domain to the mydomain.com bucket.

Then I created a cloudfront distribution having the s3 bucket as the origin.
Then I requested and selected the certificate for mydomain.com. I also requested for a certificate for *.mydomain.com.

Then on my Route53, I created an alias A which having my cloudfront distribution as the alias target.

I also created another alias A with name mydomain.com and alias target is mydomain.com.

However, having done all of these things, mydomain.com is now working on browsers but when I entered mydomain.com, it says mydomain.com is using an invalid certificate.

I tried to create two cloudfront distributions and each one uses the certificate mydomain.com and *.mydomain.com, but it says cname already exist. so i wasnt able to add the other one.

What could be wrong here? Thanks.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Gail5422790

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme