1 Answer
- Newest
- Most votes
- Most comments
0
Hi, You could look in this article https://repost.aws/knowledge-center/redirect-domain-route-53.
The solution typically uses S3 bucket to perform redirection.
Thought working, another approach I tried with my own hands was to use CloudFront functions: https://medium.com/@alatech/domain-redirection-with-cloudfront-functions-32a6732d589d
Depending on traffic and cost appetite, you can decide what is the best approach to redirect from apex to another domain based on above articles.
I hope it helps ;)
Relevant content
- Accepted Answerasked a year ago
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
I tried this but it didn't work, I want to redirect traffic from www.mydomain.com to mydomain.com.