ApsaraVideo Media Processing (MPS) supports accelerated content delivery for resources on a specific website. If you want to accelerate content delivery for resources on a specific website, we recommend that you specify the website as the origin server and add the domain name that you want to accelerate to Alibaba Cloud CDN. You can add a domain name for CDN only in the Alibaba Cloud CDN console. This topic describes how to add a domain name for CDN in the Alibaba Cloud CDN console. Then, you can use this domain name for CDN to accelerate content delivery in MPS.
Prerequisites
Alibaba Cloud CDN is activated. If not, activate this service. For more information, see Activate Alibaba Cloud CDN.
Procedure
- Log on to the Alibaba Cloud CDN console.
- In the left-side navigation pane, click Domain Names. On the page that appears, click Add Domain Name.
- Configure the domain name.
- Click Next. If you have never added domain names to Alibaba Cloud CDN, Alibaba Cloud CDN verifies the ownership of the domain name. For more information, see Verify the ownership of a domain name. If the ownership of the domain name is verified, skip this step.
- Wait for manual verification. You need to wait for one to two business days before the ownership of a domain name is verified. If the origin server is an Elastic Compute Service (ECS) instance or an OSS bucket, the verification takes a shorter period of time. After the domain name is verified, you can view the domain name on the Domain Names page. If the domain name is in the Enabled state, the domain name is added as expected.
- Configure CNAME record. After the domain name is added to Alibaba Cloud CDN, Alibaba Cloud CDN assigns a CNAME to the domain name. Content delivery acceleration takes effect only after you add the CNAME record for the domain name. For more information, see Add a CNAME record for a domain name.
- Configure the origin host.
- Enable the video seeking feature. After you configure a domain name for CDN, access to the specified website is accelerated.