Updated on 2024-04-29 GMT+08:00

Configuring a User-Defined Domain Name

To access OBS through a user-defined domain name, you need to first configure a domain name on the Console.

Configuring a User-Defined Domain Name

To access an OBS bucket using a user-defined domain name, you need to first bind the user-defined domain name you will use to the domain name of the bucket to access. For details, see User-Defined Domain Name Introduction and User-Defined Domain Name Configuration.

If a user-defined domain name is configured as an acceleration domain name with CDN, you need to complete additional settings on CDN to enable this acceleration domain name to be used to access OBS.

The example shows how to configure the user-defined domain name with CDN on Huawei Cloud.

  1. Log in to the Huawei Cloud CDN console and select Domains from the navigation pane on the left. You can view all configured CDN domain names.
  2. Configure the origin server. Click the user-defined domain name to be used to go to the configuration page. Modify the origin server. Set Type of Primary Origin Server to Domain name, and set Origin Server to the domain name of the OBS bucket to be accessed.

  3. Set the retrieval host to the acceleration domain name, that is, your user-defined domain name. Otherwise, the retrieval authentication may fail.