DNS redirection to URL through Route 53 and S3
I recently needed to redirect a DNS (like links.sportscafe.in) to a path (like http://trello.com/abc). Here is what finally helped me: http://stackoverflow.com/a/14289082/1233476
The TTCBER (Thing That Cannot Be Easily Replicated) was the following redirection rule in S3:
1 | <RoutingRules> |
Other TTCBERs:
To allow public access to S3 resources from any webpage (which you may would want in case hosting public assets for a website), we need to add the following bucket policy to the bucket:
1 | { |
To allow these resources to be embedded in all websites, add CORS configuration to the S3 bucket:
1 |
|
DNS redirection to URL through Route 53 and S3
https://doku.dev/post/2016/DNS-redirection-to-URL-through-Route-53-and-S3/