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.

1 Answer
1
Accepted Answer

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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions