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
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"
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.
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:
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.
I hated you tell you there are more, here are some of them that I think you don’t want to miss:
- Payment Processing Services: Stripe, Paypal, and Square;
- Social Network: TikTok, Facebook, Instagram, and Snapchat;
- Video sharing platforms: Youtube and Vimeo
You read it right, TikTok is on the list.
Isn’t TikTok a Chinese-owned company? Right, but the one Chinese users use is called Douyin, and TikTok is for users outside of China. These two apps share a similar user interface and are owned by the same company.
If I’m going to list every service that doesn’t work in China, I’m probably running out of space here, but I guess you probably get what I mean already. The point I’m going to make is that the technology you familiar with doesn’t work in China.
The good news
Like I promised in the beginning, I will walk you through the steps to make your website live in China with the tool you are familiar with. Here are the steps and actions:
1. Sign up on 21YunBox
Click here to get an account.
What is 21YunBox? If you have used services like Netlify, Vercel, or Heroku, you probably like the way they make deployment easy. 21YunBox does the same and is optimized to give the best performance in China that you can’t get anywhere. Simply put, it is a hosting platform that enables you to use the tech you familiar with inside China.
If this doesn’t make sense to you, let’s look at it this way, instead of you hosting a website with a Ubuntu server on AWS (meaning you install docker, Nginx, system libraries, and many other things to get a website up live), these platform pre-install everything you need to run web apps and databases, you just need to write the code and commit changes, within minutes, you will see your website live.
2. Connect your Code
Connect your Github repository on 21YunBox Console.
Wait for a second, didn’t I say Github doesn’t work in China above? Yes, it doesn’t work in China. But we make Github work by utilizing dedicated networks between China and other countries internally. So you can use Github normally inside China, this means you have a fast
git clone and fast speed on pulling libraries. Like I promised to you can use the technology you are familiar with inside China on 21YunBox.
3. Build the sites you want, with the tools you love
Pick the stack you are using and deploy it on 21YunBox in minutes:
Static Site Generator + Headless CMS + Hosting Solution:
- Deploy Gatsby + Sanity + 21YunBox
- Deploy NextJs + Strapi + 21YunBox
- Deploy NuxtJs + Contentful + 21YunBox
- Deploy React + Airtable + 21YunBox
Backend Framework + Database:
- Deploy ExpressJS + MongoDB
- Deploy Ruby on Rails + PostgreSQL
- Deploy Django + PostgreSQL
- Deploy Laravel + MySQL
Hopefully, by now, you are clear on what to do to get your website live in China. The following two steps will make sure you have everything covered to host your site on a root domain legally, let’s move on.
4. Test Your Site Live
If you have just spend few minutes completing the steps from above, you probably see your website live in China already (on a 21YunBox sub-domain). With the site present in China, you can pass it to the content team in China to perform user acceptance tests, and have some early users open it to see the speed boost in China.
The next thing would be to configure your DNS (Domain Name Server) to send traffic to the new site in China. If you still remember what I told you earlier: your site will be inaccessible if you don’t have an ICP. We also have this covered for you, read the next step.
5. Get Your ICP License
If you have a company entity registered in China, all you need is just follow our guide and put together the required docs and send it to us. It normally takes 10-20 business days for us and the MIIT (Ministry of Industry and Information Technology of the People’s Republic of China) to process.
During the process, you would expect to get 2 phone calls to verify you are operating this website legally from MIIT, after that you will have an ICP number and you need to put it on the footer of your website. For example, here is Nike’s website and its ICP no.
What happens if I don’t have a company entity in China? Then there are many possible solutions for you, click here to schedule a call with us, so we can answer your questions on the phone.
- Best CDN for China
- What is the China ICP License, and How do I get one?
- Your Netlify Solution for China
- How To Get an ICP License In China?
- How Much Does It Cost to Host a Website in China?
- Didi fined $1.2 billion for breaking China Data Security Laws
- 5 Obligations You Must Follow To Make Your Website Compliant With Chinese Law
- How to Host Your Website in China(2022)?
- Deploy Contentful Site in China With 21YunBox (Step-by-Step Guide)
- How to Make Your E-commerce Site Compliant with China's GDPR
- Top 3 University in Asia Use 21YunBox to help their Reach in China
- The Impact of China's New Personal Privacy Law on International Organizations
- US Largest Lighter Delivers Site 8x Faster with 21YunBox
- Untold facts about ICP for China and why you should get it.
- Turn WordPress into Headless in China
- Publish Websites Using Airtable With 21YunBox
- How to Make Airtable Work in China?
- Does Airtable Work in China?
- Integrate Contentful, Gatsby with 21YunBox
- How to Make Contentful Work in China?
- How to Make Sanity CMS Work in China?
- How 21YunBox Helped Commune Lifestyle Launch in China
- Cloudinary Alternatives in China
- Publish Websites Using Sanity CMS With 21YunBox
- How to Deploy Gatsby Static Sites in China?
- Does Sitecore Work in China?
- Does Sanity CMS Work in China?
- How to host Ghost Blog in China?
- How to Deploy Gatsby Static Sites in China (A Step-by-Step Guide)
- Alternatives to Sanity CMS in China
- Does Salesforce Commerce Cloud Work in China?
- Alternatives to Algolia in China
- Does Contentful Work in China
- How to Deploy Hugo Static Sites in China?
- How to Make Netlify Work in China?
- How to Improve the Access Speed of Vercel in China?
- How to Deploy NextJS Apps in China? (A Step-by-Step Guide)
- How to Deploy Strapi Headless CMS in China? (A Step-by-Step Guide)
- How to Deploy NuxtJS Apps in China? (A Step-by-Step Guide)
- How to Deploy Jekyll Static Sites in China? (A Step-by-Step Guide)
- How to Deploy Docsify Static Sites in China? (A Step-by-Step Guide)
- How to Deploy VuePress in China? (A Step-by-Step Guide)
- How to Deploy Hexo Static Sites in China? (A Step-by-Step Guide)
- How to Deploy VueJS Apps in China? (A Step-by-Step Guide)
- How to Deploy React Apps in China? (A Step-by-Step Guide)
- ICP Filing (aka Domain Name Filing, Website Filing)
- ICP Getting Started
- Top-level domain Available for China ICP Filing
- DNS Configuration for Sites Deployed with 21YunBox
Best CDN for China
Nov 23, 2022
China SEO Guide (2022 Updated)
Nov 8, 2022
How to Deploy Laravel Apps in China? (2022 updated)
Nov 1, 2022
How to make Shopify work in China?(2022 Updated)
Nov 1, 2022
How to Improve Heroku's Access Speed in China?
Oct 26, 2022