How can redirect non-www to www with use https and route 53 and cloudfront

0

i want to use all request redirect to https://www.smyro.com.tr

My current settings (S3, Route53, Cloudfront) all requested.

S3

Route53

C1

C2

Request UrlRedirect UrlResult
http://smyro.com.trhttps://smyro.com.trBad
https://smyro.com.trhttps://smyro.com.trBad
http://www.smyro.com.trhttps://www.smyro.com.trGood
https://www.smyro.com.trhttps://www.smyro.com.trGood

how can your help me for this problem ?

Thanks for all answers.

profile picture
已提問 1 年前檢視次數 1780 次
1 個回答
1
已接受的答案

Thank you for the detailed description. I highly recommend checking this article which goes into detail on the topic.

For example, redirection could be achieved using CloudFront Functions described here, or through S3 describe in this article. Please feel free to provide more details for further discussion.

AWS
weidi
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南