KS3 supports the user to bind the customized domain name to the KS3 bucket, so that the user can access the files under the bucket with the customized domain name, support the user to migrate the storage to KS3 seamlessly, and avoid the domain name security issues. After the domain name is bound successfully, add the CNAME record to point to the external domain name corresponding to the bucket, and then you can use the custom domain name to access KS3.
- The user-defined domain name to be bound needs to be filed with the Ministry of industry and information technology, otherwise the binding will fail.
- 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.
- Each bucket can be bound to a maximum of 50 domain names.
- Each bucket can have at most 50 domain name binding records (including successful binding records and wrong binding records caused by unrecorded, domain name conflict, etc.).
- After the binding is successful, when the user-defined domain name is used to access the file corresponding to the bucket, the access address does not need to write the bucket name. For example, the user creates a bucket named mybucket in Beijing region and binds the custom domain name mydomain.com. Before binding：mybucket.ks3-cn-beijing.ksyun.com/hello.jpg After binding：mydomain.com/hello.jpg Here is the wrong URL： mybucket.mydomain.com/hello.jpg mydomain.com/mybucket/hello.jpg
1.Enter KS3 Console.
2.Select bucket for domain name binding.
3.Click 【space settings】 and select 【domain name binding】.
4.Enter the domain name to bind and submit：
- If the domain name is not filed, the binding will fail.
- If the user-defined domain name has been bound by other buckets in the same region under the current account, you need to unbind it before binding.
- If the user-defined domain name is bound by the bucket of other accounts, you need to modify the txt record of the domain name server to verify the ownership of the domain name to delete the previous binding relationship and force the binding to the current bucket. For details, please refer to verify domain name ownership.
5.After the domain name is bound successfully, users need to edit a CNAME record on their own domain name server or domain name server of the service provider. The record value is the domain name of the Internet to be bound to the bucket. In this way, all access to the user-defined domain name will be sent to the bucket of KS3.
1.If the domain name is bound by the bucket of other accounts, an error will be prompted and a button to verify the ownership of the domain name will appear.
2.Click the button to display randomly generated TXT records.
3.Log in to the domain name server and add the corresponding TXT record.
4.Click the verify ownership button in the console, and click verify in the pop-up dialog box. If the system detects that the txt records of the domain name are consistent and the verification is passed, the previous binding relationship will be released and bound to the current bucket.