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 Antwort
1
Akzeptierte Antwort

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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen