URL Forwarded instead of Masked with AWS S3 Static Site via Route 53

孤者浪人 提交于 2019-12-24 01:18:39

问题


When using Route 53 to have an A Record w/ Alias pointing to an S3 Static Site, the domain forwards to the S3 url rather than masks it.

When i enter: example.com

I expect it to show the index.html page in my bucket.

Instead, it forwards me to: example.com.s3-website-us-east-1.amazonaws.com

I have followed these instructions several times, but always get the same result. http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html

The site loads fine when viewed through the S3 url at example.com.s3-website-us-east-1.amazonaws.com. And Route 53 knows that I want example.com to show the contents of that bucket, but I am just missing something. Why does it redirect?

来源:https://stackoverflow.com/questions/35882347/url-forwarded-instead-of-masked-with-aws-s3-static-site-via-route-53

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!