DEV Community

21CloudBox
21CloudBox

Posted on • Edited on • Originally published at 21cloudbox.com

5 steps to Deploy Your Website to China

Getting your websites to work in China can be tricky. You probably know Google, Facebook, Uber, and many other big tech companies had tried coming to China but failed. There are many reasons for the failures but the things I'm about to tell you will save you time and money to prevent mistakes.

 

Github and AWS don't work in China

Any successful web apps can't live without version control and hosting platforms. Github and AWS, the two most popular services in the world don't work in China. What do I mean by "don't work in China?". More specially, say you want to clone a project to a server in China, what you normally do is:

 

git clone repo_name.git
Enter fullscreen mode Exit fullscreen mode

 

but you can only get up to 10kb/s speed to download your code in China, and in fact, you get this regularly:

 

"fatal: unable to access '<your_repo>': Failed to connect to github.com port 443: Timed out"
Enter fullscreen mode Exit fullscreen mode

 

So this means you will have a hard time cloning your project to a server in China and the overall developers' experience in China would be terrible.

 

What's more?

AWS (Amazon Web Service), GCP (Google Cloud Platform), and the cloud platforms you love don't work in China. If you have been using AWS, you know you can switch regions and spin up servers in minutes. When you come to China, whatever you do on AWS, you need to replicate it on AWS China again and then apply for the ICP License.

Wait for a second, isn't AWS China just another region of the AWS system? Sorry to tell you it's not, it's on its own system in China, and the only two regions (Beijing and Ningxia) are not operated by AWS directly, in fact, it is operated by another two different companies in China.

 

What's ICP License?

ICP (Internet Content Provider) License is a permit to have your websites go live in China. I know you are probably curious what happens if I don't have an ICP License and try to push a website up online, you will see this on your browser while visiting your domain:

You will see this when you open a website without an ICP License

What it means is that no one can see your website. What happens behind the scene is that the default 80 and 443 ports are blocked for all servers in China before your ICP filing is completed.

...

To read the full content of this post, go to: https://launch-in-china.21cloudbox.com/solutions/5-steps-to-make-your-site-live-in-china.html

 

 

Top comments (0)