Raja_KT
Architect
Architect
  • UID6384
  • Fans6
  • Follows3
  • Posts554
Reads:36757Replies:1

[Share]Host a Static Website on OSS

Created#
More Posted time:Jan 15, 2019 0:38 AM


https://www.alibabacloud.com/getting-started/projects/host-a-static-website-on-oss?spm=a3c0i.8276372.1196449.22.342c383bN2hOpp


The process of deploying a static website is as follows:
1. Create a bucket
2. Upload files to the bucket
3. Set your bucket to static website hosting mode

Latest likes:

vellavella
Street children suffer not because of their fault. We can help them if we want.Contact me.

kcloud
Engineer
Engineer
  • UID7778
  • Fans0
  • Follows0
  • Posts52
1st Reply#
Posted time:Jan 30, 2020 21:04 PM
Just wanted to share the notice related to this topic:
https://www.alibabacloud.com/notice/oss0813

From August 13th, 2018 onwards, when you use an OSS endpoint to access a web file through the Internet, the Content-Disposition: 'attachment=filename;' is automatically added to the Response Header, and the web file is downloaded as an attachment.

If you access OSS with a user domain, the Content-Disposition: 'attachment=filename;' will not be added to the Response Header. For more information about using the user domain to access OSS, see Bind Custom Domain Names.

Also check out the tutorial: Host a static website using a custom domain name
https://www.alibabacloud.com/help/doc-detail/67323.htm
Guest