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
preguntada hace un año1780 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas