Self-built CDN server static Content Acceleration-lumanager CDN tutorial

Source: Internet
Author: User
Tags cloud computing platforms vps free cdn node server website ip

Why is it necessary to build a CDN server to accelerate Website access? First, the stability of the Free CDN service and the addition of quick results are not very good; second, the price of the domestic paid CDN service is very expensive, and the average grass-roots webmasters cannot afford it; third, the most practical problem is that CDN in China requires domain name be cases.

The domain name with the be case is naturally a domestic host, and the domain name without the be case is a U.S. host. The speed of domestic access to US space is sometimes unsatisfactory, the access speed of data centers in China is always lower than that of data centers in China. Compared with space in the United States, data centers in Japan, Hong Kong, and other places can access data centers in China very quickly.

As a result, many people like to deploy their websites in Japanese or Hong Kong data centers. Even for CDN services, we all hope to find CDN acceleration with nodes in Japan or Hong Kong, for example, the Japanese node free CDN provided by incapsula is very popular. For domestic free CDN, it is basically impossible for domain names without be cases.

However, if we build a CDN server using some free space or cloud computing platforms in China, we can enable our website to achieve real domestic CDN acceleration, compared with the CDN in the United States, direct use of CDN in China will significantly increase the loading speed of websites.

Self-made CDN servers are not very difficult. The key is to find a suitable domestic host. If it is a domestic free CDN, it would be better, for example:

  • 1. Bae CDN: Self-made domestic free CDN-Baidu Bae full platform layer image CDN acceleration Installation and Use
  • 2. Sina CDN: Self-made domestic free CDN accelerates webpage loading: saelayercdn and meiupic SAE
  • 3. qiniu image CDN: qiniu cloud storage Domestic Free CDN acceleration 10 Gb space 10 GB monthly traffic multi-acceleration nodes

Self-built CDN server static Content Acceleration-lumanager CDN tutorial

1. Prepare lumanager CDN before construction

1. Find a VPs host with fast access in China to install the lumanager Control Panel, such as VPs in Japan, VPs in Hong Kong, or some domestic cloud computing platforms, such as the Chinese version of Windows azure

2. The lumanager Control Panel supports nginx, tengine, and Apache, and comes with CDN cache acceleration, which is easy to set and powerful. Installation Tutorial: lumanager graphic installation and usage

3. After a tribal test, lumanager CDN will automatically generate an image cache for the accelerated website. User access will not be a source website, but a CDN acceleration node, which has the best acceleration effect on static files.

4. This article uses Microsoft's Windows azure. After a tribal test, we found that the domain name without the Bei case can be bound to the Windows azure space. We still need to observe whether the customer service review will happen.

Ii. lumanager CDN cache acceleration creation tutorial

1. log on to the lumanager background control panel and click "add Website" to enter the domain name you want to bind.

2. Click the "select" option, select "CDN website acceleration" in the creation of a special website, and fill in your source website domain name and source website IP address. (Click to enlarge)

3. Select "enable CDN normal cache" below. The default value of CDN cache file type is as follows: HTML | HTM | shtml | SHTM | GIF | JPG | JPEG | PNG | BMP | SWF | JS | CSS | MP3 | MAV | Doc | dot | XLS | PDF | TXT | zip | RAR | GZ | tgz | bz2 | tgz | RM | rmvb | ICO

4. Multiple Dynamic Web pages, such as JPG, PNG, and GIF, are separated by halfwidth. Do not cache PHP, ASP, JSP, CGI, aspx, and other dynamic web pages. If it is left empty, the default value is used.

5. The file type can be matched using regular expressions. To match discuz attachments, you can use PHP. Mod = attachment (due to PhP? In mod = attachment? It is a special symbol in the Regular Expression and must be replaced by.) (Click to enlarge)

6. After setting the settings, you can go to website management to see that the website CDN acceleration has been successfully created.

3. Set DNS domain name resolution to enable CDN cache for accelerated access

1. Go to the DNS management office of the domain name and set users of different networks to access different CDN acceleration nodes, such as foreign and domestic users, and China Telecom and China Unicom users, there is also a distinction between search engines.

2. for users who are using a U.S. host, allowing users to directly access the CDN cache Acceleration Server in China will greatly increase the loading speed of webpages. This is where I set my Godaddy host to the CDN data center in China.

Iv. lumanager CDN accelerated access

1. From the ping value, after setting lumanager CDN, the Website user access is no longer the source site, but the CDN node.

2. The speed of loading Web pages accelerated by CDN in China is doubled with the webmaster speed measuring tool. (Click to enlarge)

3. Check the website file management of lumanager CDN and find that lumanager CDN has automatically generated an image for the origin site on the server. static files such as CSS, JS, images, and HTML have been successfully formed. (Click to enlarge)

V. lumanager CDN advanced cache mode and deletion of cache content

1. If you want to enable the lumanager CDN advanced cache mode, select this option when creating a CDN acceleration website.

2. You can select the index file (default homepage) of the website for the advanced cache. The cached files are randomly stored and encrypted on the node server, in addition, frequently accessed files use the memory cache, which is fast. We recommend that you select this mode if you have sufficient memory and require high file confidentiality and access speed.

3. to delete the content cached by lumanager CDN, you can set a password or not.

4. For example, if a tribe wants to delete a cache file, visit the URL http: // 10.204.164.9: 8888/index. php? M = Public & A = cache_delete & id = 2 & hash = ha rare Value & file = File Name

5. Hash Algorithm: MD5 value of the password, that is, MD5 (password ). If the password is left blank, the password can be deleted without verification (the hash parameter is omitted)

6. File Name: the file name starts with "/" relative to the root directory of the website. to delete the mydir/file under the root directory of the website, use/mydir/file (we recommend that you encode the file name with urlencode ). For "file + Memory" mode, the file name is/lum_high_cache.

Vi. lumanager CDN usage Summary

1. The CDN server must be completely set up with nginx, rather than Apache. php is added to the CDN cache file type. moD = attachment, which is the dzx compression attachment mode. If PHP is not added. moD = attachment the attachments in the compressed package of the forum cannot be cached and the effects cannot be improved.

2. It is not convenient to delete the cached content of lumanager CDN. It is very troublesome to delete cached files one by one, the solution is to directly Delete cached files in space file management. For example, a 400 error may occur occasionally after lumanager CDN is used.

From: http://www.freehao123.com/lumanager-cdn/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.