Adding Domain Names
Last updated: 2020-03-03 15:11:21PDF
You can add domain names to CDN console for Tencent Cloud CDN services with the following steps:
Adding domain name
Log in to the CDN Console, click Domain Management on the left sidebar, and click Create Distribution.
Enter the page for creating domain names to complete the domain name configuration. For information about configuration descriptions, please see Configuring domain name.
Configuring domain name
|Domain Name||You can add domain names in batches. A maximum of 10 domain names can be added by clicking **Add**. Domain name must meet the following conditions:
The domain name has never been added to Tencent Cloud CDN before. Currently, wildcard domain names can also be added, but verification is required. You can upload verification files provided by Tencent Cloud to the root directory of the website, complete verification, and then add wildcard domain names. Pay attention to the following restrictions:
|Project||Select the corresponding project in **Project** to manage the domain name by project. The project is shared by all Tencent Cloud products. You can add a project in Project Management .|
|Origin Type||You can select an external origin server or COS as your origin server.|
|Origin Settings||External origin server||If you already have a business server (origin server) that runs stably, you can choose to connect to CDN via your own business server. No change needs to be made to the origin server. You can connect your origin server to CDN via the CDN console and complete DNS configuration to activate the acceleration service. The IP address and domain name of the origin server should meet the following conditions:
|COS origin server||If you want to use COS to store static content for fast delivery, you can directly add the domain name of COS to CDN. Use one of the following methods to add the domain name to CDN:
Configuring the acceleration service
Select the acceleration service type and basic configuration.
- Business Type
The business type determines the resource platform to be scheduled by the domain name. The acceleration configuration varies by resource platform. Please select a business type based on your business conditions:
- Static acceleration: Suitable for static resource acceleration scenarios such as ecommerce, websites, and gaming images.
- Download acceleration: Suitable for scenarios such as game installations, audio/video downloads, and mobile phone firmware package distribution.
- Streaming VOD acceleration: Suitable for VOD acceleration scenarios.
- Basic Configuration
CDN provides the Ignore Query String switch, which allows you to control whether to filter parameters after "?" in end users' request URLs. You can use this feature for flexible version control or token-based authentication. For more information, please see Ignore query string configuration.
- Cache expiration configuration
Cache expiration configuration refers to a set of expiration rules that CDN cache nodes should comply with when caching your business content. For more information, please see Cache Expiration Configuration.
Completing the connection
Click Submit to add the domain name and wait for the domain name configuration to be delivered over the entire network. This usually takes 5 to 10 minutes.
After the connection is successful, CDN will assign you a corresponding CNAME address. CDN service takes effect only after you complete the CNAME configuration. For more information, please see Configuring CNAME.