Convert CDN Address StackOverflow, GitHub website Slow access issues

Source: Internet
Author: User

StackOverflow This site is not a crab, but the site uses a CDN service provided by Google. So in the case of Google being a crab, the website using its CDN service will also be affected. The solution is to convert a request for a Google CDN into a domestic CDN request.

Specific practices:

Modify the Hosts file.

Mac

  1. Open terminal (terminal), type the following command

    sudo vi/etc/hosts
  2. After typing the password, confirm (Enter);

  3. After entering the file, click I, enter the insert mode, the Hosts file to modify;

  4. Add the following IP and URLs below localhost (using a CDN of 360)

    61.160.224.241 ajax.googleapis.com 61.160.224.241 fonts.googleapis.com 61.160.224.241 themes.googleusercontent.com 360 125.88.190.61//Zhong ke 202.141.162.123
  5. Click ESC, exit Insert mode, enter: Wq to save and exit. At this point, the hosts modification is complete.

Next, you can access StackOverflow;)

                                                                                                                                                                               &nbsP;     feb 13, 2015

Convert CDN Address StackOverflow, GitHub website Slow access issues

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.