Resources and Costs
The table below describes the resources that you need in this practice.
Resource |
Description |
Cost |
---|---|---|
OBS |
An OBS bucket must be created for hosting static website files, and the bucket must have the static website hosting configured and a user-defined domain name bound. |
Fees charged for using OBS:
Actual fees vary depending on the size of stored files, the number of requests, and the traffic volume. |
Static website files |
Free |
|
User-defined domain name |
The user's domain name that needs to be bound to the OBS bucket. As required by the MIIT, the user must complete the ICP filing, if the bucket to which the user-defined domain name is bound is in any of the following regions: CN North-Beijing1, CN North-Beijing4, CN East-Shanghai1, CN East-Shanghai2, and CN South-Guangzhou Example: www.example.com |
Domain name registration fees charged by the registrar |
DNS |
A CNAME record must be configured on DNS for the domain name bound to the bucket. |
Free |
In this example, the static website files are as follows:
- Content in the index.html file
<html> <head> <title>Hello OBS!</title> <meta charset="utf-8"> </head> <body> <p>Welcome to OBS static website hosting.</p> <p>This is the homepage.</p> </body> </html>
- Content in the error.html file
<html> <head> <title>Hello OBS!</title> <meta charset="utf-8"> </head> <body> <p>Welcome to OBS static website hosting.</p> <p> This is the 404 error page.</p> </body> </html>
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.