Cannot Visit My Website from China

December 18, 2014 2.5k views

I have a working website using DO droplet as my VPS and I chose the Singapore section as it is nearer to China.

When the site has been set up, I found it no problem accessing it in Singapore. But for visitors from China, things are getting strange. Some can get access to the site very fast. But others just cannot. I suspect it is not related to my site configuration. Just wonder if anyone encounter the same problem and whether there is any workaround?

Any help is appreciated.

  • Is it a new setup ?? In that case, may be the DNS is not updated yet.. Try to ping the website from those effected region to see if its resolving to right address or not..

  • @hunky , thanks for the reply...It is not a new setup (a month already).

    I suspect it is because I used the JQuery library of Google and it is blocked in China...
    I will change to another library to see how it works later.

  • Hey Steven, has the change of JQuery libraries helped? I am experiencing the same problem - I can access the site without any problems, but my own website hardly loads

  • @Ivos No, it didn't help. But the JQuery problem is a problem that only occurs in China. So unless you are loading your site from China, your problem should come from something else...

  • @StevenSLXie that's exactly my problem. I can load it easily on VPN, but a direct access from China is painfully slow if it even goes through. I measured my site on and it showed the response time of 10.5 seconds. Do you, by any chance, know which other libraries are banned in China? I tried to search for it but could find any resource.

3 Answers

@Ivos As far as I know, Googleapi has been blocked. If you use its JS library, try to replace it with

the Sina one:, or
the Microsoft:, or

Alternatively, you may consider storing the JS library as well as other scripts in your own server. This may be sub-optimal, but at least you can see whether the problem is about the China firewall or not.

Good. Thanks. I think we have the scripts on our own server, but do you know whether the usage of Twitter Bootstrap can be causing the problems?

  • Twitter Bootstrap should be fine...Many sites in China use it.

    Another thing that may cause the problem is the DNS resolution. Maybe you can try loading the site using the IP address instead of your domain name.

the DNS made the response time much better in the websitepulse, but the page still didn't load, so I assume there must be something in the code... Thanks for the help @StevenSLXie !

Have another answer? Share your knowledge.