Updated on 2024-08-06 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 enable access to an OBS bucket through a user-defined domain name, you need to first associate the user-defined domain name with the domain name of the bucket. 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 enable it to access OBS by configuring settings on CDN console.

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.