marcuslow
Intern
Intern
  • UID8704
  • Fans0
  • Follows0
  • Posts4
Reads:381Replies:4

Static page hosting on oss

Created#
More Posted time:Jan 30, 2020 17:51 PM
hi all,


i am trying out the static page hosting on oss but to my surprise it does not load the index.html static page at all.


Steps takem:
1. Create oss bucket set Basic Setting -> ACL  = Public Read
2. Set Static Pages -> Default Homepage = index.html
3. Set Static Pages -> Default 404 Page = error.html
4. Upload index.html & error.html into the bucket
5. Access the bucket via https://bucket-name.oss-region.aliyuncs.com/ will download the index.html page instead of displaying the content.
6. Access the non-existing page will show the error.html


May i know what else am i missing in the above steps.


marcuslow
Intern
Intern
  • UID8704
  • Fans0
  • Follows0
  • Posts4
1st Reply#
Posted time:Jan 31, 2020 10:47 AM
Tks Sundaram and kcloud, will give it a try
Guest