Last update at :2024-07-11,Edit by888u
Although we can see that mainstream cloud server providers have also provided object storage in recent years, traditional merchants such as Qiniu Cloud and Youpai Cloud focus on object storage, CDN, and streaming media services in actual applications. Functions and performance still have their own characteristics and advantages. Lao Zuo saw that many netizens are still using related services provided by Qiniu Cloud, not only because its merchants provide 10GB of free storage space, but for most commercial storage and functions, many companies or personal businesses would rather pay.
After the article on Snail Blog a few days ago specifically introduced object storage merchants in mainland China and WordPress-related object storage plug-ins, many netizens reported that they wanted to have an in-depth introduction to the configuration issues of the object storage platform. Since there are these demands, and Snail is also preparing to transform this website into a resource-based website starting this year, there will be less information about the hosting companies' activities. Let’s start with Qiniu Cloud today. Although it has been introduced in articles before, but seeing that the backend of Qiniu Cloud has been revised, it may be different. Here I will reset the settings, deployment and records.
In this article, we will create a new space in Qiniu Cloud Object Storage, bind our own custom domain name, and handle the necessary anti-leeching settings. Of course, if you encounter other space settings, you may record comments by the way.
First, Qiniu cloud storage space creation
Here we can find the [Object Storage] menu after logging in to the Qiniu Cloud backend. As shown in the picture above, directly [New Space].
Create a space name, select a region, and set access control permissions here. If we are preparing for private storage, then choose private mode. If we are going to open access to resources, then choose public mode. This seems simpler than it originally was. In this way, we can quickly create the current Qiniu Cloud object storage space.
Here we enter the storage space detailed interface to see the current storage space. Including regional nodes and spatial domain names, there are default ones. This was not available before, but it is also possible if we use the spatial domain name directly, but the acceleration function is not used. If we need to cooperate with CDN acceleration, we need to add a custom domain name.
If we need to use an external link domain name, we need to add a custom domain name. The official CDN test domain name is valid for 30 days.
Second, bind custom domain name settings
We need to prepare a domain name that already has an ICP number. Any second-level domain name is acceptable. There is no need to force access to Qiniu Cloud. Other domain names are not supported.
Here we start to set up the binding domain name and enter our own domain name. If we use their free resources, we can only bind HTTP, and HTTPS is billed separately. Later, after we bind HTTPS, we need to set up the certificate separately. Here, Snail will set up and configure HTTP first. After HTTPS, I will configure it in a separate article. You can leave everything else as default and leave it alone.
Then we can see the given CNAME resolution requirements. We go to the domain name resolution panel to configure CNAME resolution and wait until it takes effect to complete the binding of the domain name.
Third, Qiniu object storage anti-leeching settings
If we need to use Qiniu Cloud object storage space and use the WPQINIU plug-in, in fact, as long as we get the API key of the Qiniu Cloud account, we can set the plug-in settings of Qiniu Cloud object storage space. But we can see that Qiniu Cloud storage space has many settings functions, but there is one thing we need to set, and that is anti-leeching.
Because we know that any Qiniu cloud storage space or other storage space is billed according to traffic. If it is not set up, it may lead to waste and loss of traffic, which is money.
Here we find Referer anti-hotlinking in the settings and set it up.
Here we turn on anti-hotlinking and configure the whitelist, setting the referer addresses that are allowed to be released.
In this way, we can completely create storage space in Qiniu Cloud Object, set up anti-leeching and bind our own CDN custom domain name. If you need to recharge your Qiniu Cloud account, you can use a discount code [e52a1966] with a maximum 95% discount.
Recommended site searches: Zhengzhou virtual host, how to register a domain name, which is the best network IP address query in Hong Kong space, how to query the IP address, webmaster IP, server hosting, mobile server hosting, space server, US host rental,
发表评论