: 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
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.
More posts by @Gail5422790
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.