Domain Binding

最近更新时间:2020-04-03 09:17:27

Domain binding

KS3 allows users to bind their custom domain names to KS3 Buckets, so that they can access the files in the Buckets with a custom domain name. Thus, users can seamlessly migrate their storages to KS3, and also avoid the domain name security issue. After a domain name is successfully bound, please add a CNAME record to point to the Bucket-corresponding extranet domain name. Then, you can access KS3 by using the custom domain name.

Note:

  1. The custom domain name to be bound should be registered with MIIT; otherwise, the binding will fail.
  2. The custom domain name to be bound cannot be bound to two or more Buckets in the same Region under the current account at the same time.
  3. Each Bucket can be bound to a maximum of 50 domain names.
  4. Each Bucket can have a maximum of 50 domain name binding records (including the records of successful binding as well as the records of incorrect binding due to no registration, domain name conflict, and etc.)
  5. After the binding is successful, when using the custom domain name to access the files corresponding to the Bucket, you do not need to write the Bucket name in the access address.

For example, a user creates a Bucket named mybucket in the Region of Beijing and binds a custom domain name of mydomain.com.

Before binding: myBucket.ks3-cn-beijing.ksyun.com/hello.jpg

After binding: mydomain.com/hello.jpg

The follows are wrong URLs: myBucket.mydomain.com/hello.jpg mydomain.com/mybucket/hello.jpg

Operation steps:

  1. Enter the KS3 management console.
  2. Select the Bucket for domain name binding.
  3. Click [Bucket Settings] and select [Domain Name Binding].

image.png

  1. Enter and submit the domain name to be bound:  

image.png

Note:

    1. If the domain name is not registered, the binding will fail.
    1. If the custom domain name is already bound to other Bucket in the same Region under the current account, you need to unbind them before making a new binding.
    1. If the custom domain name is bound by a Bucket under other accounts, you need to modify the TXT record of the domain name server to verify the ownership of the domain name, so as to delete the previous binding relationship and then force bind it to the current Bucket.
  1. After the domain name is successfully bound, the user needs to add a CNAME record on the domain name server of the user. The record value is the extranet domain name of the Bucket to be bound. In this way, all accesses to the user’s custom domain name will be routed to the Bucket in KS3.

Verify the ownership of domain name

  1. If the domain name is bound to a Bucket under other accounts, an error will be prompted and a button to verify the ownership of the domain name will appear.

image.png

  1. Click the button, and the randomly generated TXT record will be displayed.

image.png

  1. Log in to the domain name server to add the corresponding TXT record.

  2. Click the ownership verification button on the console, and click the “Verify” button in the pop-up dialog box. If the system detects that the TXT records of the domain names are consistent, the verification will be successful and the previous binding relationship will be released, while the domain name is bound to the current Bucket.

金山云,开启您的云计算之旅

注册有礼