百度智能云

All Product Document

          Object Storage

          Bind Custom Domain Name

          Basic Introduction

          Users can bind a custom bucket domain name, which can be directly published on the external network. Users can use the bound domain name to directly access bucket.

          Binding Rules

          • The bound domain name must not include protocols, ports and paths, but only the domain name itself.
          • Each bucket can bind up to 20 different domain names.

          Operation Method

          1.Click the name of bucket to enter the bucket Management page and select the Publish Management tab.

          2.Click Add Custom Domain Name to complete bucket domain name binding; After the addition is completed, it will be displayed in the list of custom domain names below.

          image.png

          CNAME Domain Name Resolution

          After completing the binding, please log in to the background of the domain name service provider, add CNAME domain name resolution in domain name management, and transfer the required domain name CNAME to the domain name <region>. bcebos.com' of BOS (is the region where bucket is located, please refer to Region Selection Description to complete all domain name binding configuration.

          E.g.:

          • If your bucket is located in Beijing, please CNAME to bj.bcebos.com.
          • If your Bucekt is located in Guangzhou, please CNAME to gz.bcebos.com.
          • If your bucket area is in Suzhou, please CNAME to su.bcebos.com.

          Bind Https Certificate

          After you have finished CNAME resolution, if you want to access this custom domain name as https, you can bind your https certificate to this custom domain name.

          Baidu AI Cloud SSL Certificate Service provides a complete one-stop service for certificate application and management. Users can purchase, manage and use https certificates on Baidu AI Cloud. For details, please refer to Certificate Management

          After you hold the available certificates in Baidu AI Cloud SSL Certificate Service, in BOS custom domain name console, you can click the HTTPS Certificate function item when creating the custom domain name for the first time or modifying the existing custom domain name. The drop-down will show all the certificates you manage in Baidu AI Cloud SSL Certificate Service and select the corresponding certificates as needed.

          When the certificate bound to the domain name expires or becomes invalid, you can also select the custom domain name, click the HTTPS Certificate function item, and select the available certificate in the drop-down menu to replace it.

          Access Address

          After the binding is completed, the bucket can be accessed directly by using the bound domain name.

          E.g.: To bucket: The domain name bound to video is video.51mingxi.com, please change the domain name video.51mingxi.com CNAME to <region>. bcebos.com in the background of the domain name service provider. When finished, you should use the URL: http://video.51mingxi.com/ can direct access the bucket.

          Note

          • The added custom domain name needs to be in the DNS resolution management of the domain name registrar to complete the CNAME resolution of the custom domain name. Only after the resolution takes effect can it be accessed through the custom domain name. If you need to turn on CDN acceleration for custom domain names, click Turn on CDN Acceleration in the corresponding operation column of domain names. If you want to unbind the custom domain name, click Delete in the corresponding operation column of the domain name.
          • If the bound domain name has other original resolution records, after CNAME to <region>.bcebos.com, the original resolution records need to be deleted.
          • When the range of domain names covered by the certificate you selected does not match the custom domain name you expect to bind, the interface will prompt you to replace other available certificates.
          • It is recommended that you pay attention to check the effective time of the bound certificate in Baidu AI Cloud SSL Certificate Service to avoid the unavailability of https access after the certificate expires.
          • The current BOS temporarily supports configuring https certificates for custom domain names of bucket under bj, su and gz regions.
          • After the selection of binding a custom certificate, the establishment of the binding relationship usually takes 5-10 minutes. Please wait patiently and try to use it.
          Previous
          CDN Acceleration Release
          Next
          Data Processing