Endpoints and Domain Names¶
Endpoint: OBS provides an endpoint for each region. An endpoint is considered a domain name to access OBS in a region and is used to process requests of that region. For details about regions and endpoints, see Regions and Endpoints.
Bucket domain name: Each bucket in OBS has a domain name. A domain name is the address of a bucket and can be used to access the bucket over the Internet. It is applicable to cloud application development and data sharing.
An OBS bucket domain name is in the format of BucketName.Endpoint, where BucketName indicates the name of the bucket, and Endpoint indicates the domain name of the region where the bucket is located.
Table 1 lists the bucket domain name and other domain names in OBS, including their structure and protocols.
Type | Structure | Description | Protocol |
---|---|---|---|
Regional domain name | Endpoint | Each region has an endpoint, which is the domain name of the region. For regions and endpoints, see Regions and Endpoints. | HTTPS HTTP |
Bucket domain name | BucketName.Endpoint | After a bucket is created, you can use the domain name to access the bucket. You can compose the domain name according to the structure of bucket domain names, or you can obtain it from basic information of the bucket on OBS Console or OBS Browser. | HTTPS HTTP |
Object domain name | BucketName.Endpoint/ObjectName | After an object is uploaded to a bucket, you can use the object domain name to access the object. You can spell out the domain name according to the structure of object domain names, or you can obtain it from the object details on OBS Console or OBS Browser. Alternatively, you can call the GetObjectUrl API through the SDK to obtain the object domain name. | HTTPS HTTP |
Static website domain name | BucketName.obs-website.Endpoint | A static website domain name is a bucket domain name when the bucket is configured to host a static website. | HTTPS HTTP |
User-defined domain name | Self-owned domain name registered with a domain name provider | You can bind a user domain name to a bucket so that you can access the bucket through the user domain name. | HTTP |