Last update at :2024-03-11,Edit by888u
Alibaba Cloud CDN service, the full name of Content Delivery Network, is a content distribution network, which can distribute the content of the origin site to the node closest to the user, so that the user can obtain the required content nearby and improve the response speed and success rate of user access. Recently, there is a need to configure CDN on this site, so this article summarizes the configuration and usage tutorials of Alibaba Cloud CDN and introduces how to use Alibaba Cloud CDN.
** The article is reproduced from: "Alibaba Cloud CDN Configuration Tutorial: Add Domain Name, Configure CNAME, and Verify CDN Effectiveness"
1. Introduction to Alibaba Cloud CDN service
Alibaba Cloud CDN product page: https://www.aliyun.com/product/cdn
Alibaba Cloud CDN is not expensive, and the billing items are divided into two parts: "Basic Services" and "Value-Added Services".
- "Basic Service": Choose from two billing methods: billing based on traffic or billing based on peak bandwidth.
- "Value-added Services": Domain names that enable the HTTPS function or have a business type of "full-site acceleration" will be billed for the number of requests. The real-time log service and image pornographic identification functions are also billed separately.
We can choose to charge based on peak bandwidth or traffic. For details, please refer to Alibaba Cloud official website: Alibaba Cloud CDN Pricing
Alibaba Cloud Mini Site: https://www.aliyun.com/minisite/goods
The Alibaba Cloud website may have discounts on Alibaba Cloud CDN. You can go to the Alibaba Cloud website to check out the latest promotional content before purchasing.
2. Add a domain name accelerated by CDN
First add a domain name in the Alibaba Cloud CDN console and select "Domain Name Management". On this page, you can view all the accelerated domain names and status you added. Click the "Add Domain Name" button:
Enter the Alibaba Cloud CDN acceleration domain name (generally use a subdomain or pan-domain name, such as cdntest.example.com), select the business type, origin site type, and port, then click Next and wait for Alibaba Cloud review:
After the accelerated domain name is approved, it will appear in the domain name list in the "Domain Name Management" of the Alibaba Cloud CDN console. If the status is "Normal Operation", it means the addition is successful:
3. Add CNAME record
1. Find the Alibaba Cloud CDN CNAME address
Copy the CNAME address corresponding to the accelerated domain name in the domain name list of "Domain Name Management":
2. Modify domain name resolution records
Go to your domain name resolution service provider to modify the domain name resolution record to a CNAME type, with the value being this CNAME address.
4. Verify whether CDN acceleration is successful
After CNAME is configured, different service providers have different CNAME effective times. Generally, newly added CNAME records will take effect immediately, while modified CNAME records will take longer to take effect. After waiting for a period of time, you can directly ping your domain name to verify whether Alibaba Cloud CDN is configured successfully:
The above is the Alibaba Cloud CDN configuration and usage tutorial introduced on this site. Generally speaking, it is very simple. However, Alibaba Cloud CDN mainland China nodes need to register domain names before they can be used. If you are looking for a CDN service that does not require registration and has good speed in mainland China, then GigsGigsCloud's CDN service may be suitable for you: "GigsGigsCloud CDN service is officially launched, no registration required for Hong Kong CDN, and it will be free as long as you buy it." However, I personally think that if it is a choice For foreign CDN, it is better to choose a VPS host with good speed, such as Hong Kong CN2 GIA VPS: "Hong Kong CN2 GIA VPS Host Merchant Collection and Recommendation" or American CN2 GIA VPS: "US CN2 GIA VPS Host Merchant Collection and Recommendation".
Recommended site searches: Hong Kong IP proxy, free virtual host, domain name check, mainland China site group server, cloud server rental, Taiwan server rental, website query domain name, IP view, IP address search, Hong Kong server,
发表评论