How do I create a static website on aws s3 specifying an index document with spaces in the name

for example suppose I have a file “test index.html” and I want to set this as the index document for static website hosting, how do I do this? I’ve tried test index.html, “test index.html”, test+index.html, test%2Bindex.html e


As of RFC3986 dictates:

URL encoding replaces unsafe ASCII characters with a “%” followed by two hexadecimal digits.
URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.

The relevant extracts about URL encoding can also be found at

Source : Link , Question Author : penchant , Answer Author : Community

Leave a Comment