https without www is not working

0

Hi, I have an S3 website and 2 buckets -one with the www (includes the files) and one without www, which redirects to the www. recently I've added an ssl certificate and now the domain https://mydomain.com doesn't arrive to site

1回答
1
承認された回答

Amazon S3 website endpoints don't support HTTPS, only plain HTTP.

I notice you've tagged the question with CloudFront, so have you put a CloudFront distrubution in front of the S3 bucket and associated a cert with it, and are serving the content from the S3 bucket that way?

If you've not go that working yet then these are the steps to achieve this https://repost.aws/knowledge-center/cloudfront-serve-static-website

Once you've got that working, it sounds like your goal is to serve the www and non-www addresses over HTTPS then I think this is what you need to be doing https://repost.aws/knowledge-center/multiple-domains-https-cloudfront

profile picture
エキスパート
Steve_M
回答済み 3ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ