Static website hosting in Azure blob storage
This would require supporting default file to render and somekind of redirect from root to a particular container.
Static websites is planned for the coming year! This feature will include more detailed error messages as well as support for a default Storage Blob. As soon as we have updates to share on Static Websites we will do so. For any further questions, or to discuss your specific scenario, send us an email at firstname.lastname@example.org.
I agree. S3 just added support for root documents. We need it too! I need to be able to put index.html (or index.htm) on my site and avoid having to type it into the URL.
Ameer Deen commented
I saw this idea: http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting/suggestions/410922-support-root-blobs?ref=title and voted for that one instead. Turns out yours is the same. Can you vote for the other one as well since it's 91st ranked now ?
Chris Auld commented
Blob storage is, in effect, a big massive scale static web server. THis makes it very suitale for directly serving certain types of static web sites that may be hit by a big spike in load. The one statis web server feature missing that is really hard to work around is a lack of a default document.
It should be possible to set a single blob in each container as the default blob and this should be returned if the HTTP GET request provides only the container name.
Michael Khalili commented
Right now the system sends xml to the user if a file isn't found. This isn't very friendly to someone browsing from the web. I would like to have a redirect to a custom url for 404 errors instead of xml.
I can see the need for the xml when using the API so perhaps the redirect can be turned off when making the API calls.
This is also important so I can track when files are missing.