download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

Amazon S3 - Get Website Configuration using GET Bucket Website

You can configure an Amazon S3 Bucket as a Website and hence, host a Website on Amazon S3, by adding Website configuration to the Bucket. To access the Website Configuration on a Bucket, you can send an HTTP GET Request to Amazon S3 Server, along with necessary parameters. To authenticate the request, you must be the bucket owner to have S3:GetBucketWebsite permission. If you are the Bucket Owner, you can also write a bucket policy to allow other users to have the permission to read the website configuration.

You can choose from the two options to send HTTP GET Request to Amazon S3 server:

1) Get S3 Website Configuration using Amazon S3 API- GET Bucket Website - If you are a software developer, you can write your own program to use Amazon S3 REST API GET Bucket Website in your code and access Website configuration.

2) Get S3 Website Configuration using Bucket Explorer UI - If do not want to write any code, you can use Bucket Explorer user interface to access the S3 Website Configuration using point and clicks.

Get Website Configuration using REST API GET Bucket Website

To get the website configuration of an S3 Bucket, you can request GET Bucket Website. To send GET Bucket Website Request, you only need to use request headers common to all operations.

Syntax:

GET /?website HTTP/1.1
Host: bucketname .s3.amazonaws.com
Date: date
Authorization: signatureValue
 

Get Website Configuration using Bucket Explorer

While the "GET Bucket Website" API of AWS allows you to get the website configuration of an S3 bucket by writing software program, Bucket Explorer lets you do that easily using its interface..

how to set S3 Website on bucket?

Steps to get the Website configuration of a selected S3 bucket:

  1. Start Bucket Explorer and connect with your Amazon S3 account.
  2. Select your desired Bucket on which you want to get S3 Website Details.
  3. Click on " Advanced " button. It will give you drop down options. Select " Get S3 Website " among them.
  4. Click on " Get S3 Website " option.