1 Answer
- Newest
- Most votes
- Most comments
0
Yes, ap-northeast-1 also supports virtual host-style access.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#virtual-hosted-style-access
By the way, what error do you get when you access the site?
Relevant content
- asked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
Thank you for the response, when I use the Virtual Hosted style URL(bucket.s3.ap-northeast-1.amazonaws.com), I am able to access the bucket and see objects but not able to access subfolders. I was getting an Access denied error. But, I am able to access the same subfolder with path style URL s3.ap-northeast-1.amazonaws.com as host and bucket in the path.
I also downloaded Cyberduck and tried it. It failed with the following error. If you look at the error carefully, you will see that the "host" to be accessed is "dir.bucketname.s3.ap-northeast-1.amazonaws.com", which causes an HTTP 404 error. We expect that this is probably caused by the specification of the Cyberduck program to create the URL to be accessed.
Yes, I saw the same host (dir.bucket.s3.region.amazonaws.com), and not sure why it is doing it. I believe I just have to use path styled URL with Cyberduck. I used the same tool with buckets in US-EAST-1 region before and worked fine. I just observed that it is working fine (with the same bucket in ap-northeast-1) if I remove the region from the URL. i.e., bucket.s3.amazonaws.com or if I supply bucket in the path filed instead of the host with the region in URL. i.e., host s3.region.amazonaws.com path: bucket/dir. Thank you!