问题
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