Object Storage Service (OSS) uses data centers distributed around the globe to implement transfer acceleration. When a request is sent to your bucket, the request is parsed and routed to the data center where the bucket is located over the optimal network path and protocol. The transfer acceleration feature provides an optimized end-to-end acceleration solution to accessing OSS over the Internet. This topic describes how to implement OSS transfer acceleration based on a custom domain name.
Prerequisites
- Transfer acceleration is enabled. For more information, see Enable transfer acceleration.
- An Internet Content Provider (ICP) filing is approved by the Ministry of Industry and Information Technology (MIIT) for the domain name that you want to map to a bucket in a Chinese mainland region. For more information, see ICP filing.
Background information
- Global acceleration endpoint: The format is
BucketName.oss-accelerate.aliyuncs.com
. Transfer acceleration access points are distributed across the world. You can use this endpoint to accelerate access to the bucket from all OSS regions. - Acceleration endpoint outside the Chinese mainland: The format is BucketName.oss-accelerate-overseas.aliyuncs.com. Transfer acceleration access points are distributed across regions outside the Chinese mainland. Users outside the Chinese mainland can use this domain name to accelerate access to the bucket in regions outside the Chinese mainland.
If you want to accelerate access to a bucket through a custom domain name, you must map the custom domain name to the bucket and add a CNAME record that points to the acceleration endpoint.
Procedure
Verify the CNAME status
- Windows
Open the cmd.exe program. Run the nslookup command to resolve your custom domain name. If the request is redirected to the acceleration endpoint, the domain name mapping is in effect.
- Linux
Run the dig command to resolve your custom domain name. If the request is redirected to the acceleration endpoint, the domain name mapping is in effect.