Amazon web services
Share on facebook
Share on twitter
Share on linkedin

How To Host Static HTML Web Sites With Amazon S3

Anthony James
Anthony James

Sometimes you need to host a static website somewhere. It might be a simple index.HTML page that you can easily redirect servers to in case of downtime for your current site or for simple documentation. How you use it is really up to you. But Amazon S3 now has the ability to “host” static HTML pages. This means that if you provide the link to your .html page the Amazon S3 bucket will think it needs to interpret that as a website and display it accordingly. This behavior is different than it used to be, Amazon would only allow you to download the object and not display it in a web page. Let’s set up an index.html page in our Amazon S3 bucket.

Log in to Amazon S3 and select the bucket you would like to use

Start the upload process by selecting “upload”

Select your index.html file and upload to the bucket

1

Right-click on the document and “make public”

2

Right-click on index.html and select “properties” to find the URL

3

Copy and paste the URL into a browser and open!

Screen Shot 2012-12-01 at 12.03.02 PM

Recommended

Get more insights, news, and assorted awesomeness around all things cloud learning.

Get Started
Who’s going to be learning?
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout