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 réponse
1
Réponse acceptée

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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions