[Share]Host a Static Website on OSS
Created#More Posted time:Jan 15, 2019 0:38 AM
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
1st Reply#Posted time:Jan 30, 2020 21:04 PM
Just wanted to share the notice related to this topic:
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