Article
Hosting a Website in China: ICP Filing, Azure China, and What to Plan For
A website that loads quickly in the United States can be slow, unreliable, or partly broken for visitors in mainland China. That surprises many organizations. The reasons are technical and regulatory, and they need to be planned for before launch, not after.
This guide covers the main decisions: where to host, what an ICP filing is, how Azure China differs from global Azure, and which parts of a typical website often need to change. It is general guidance. Rules in this area change and vary by case, so check current requirements with your hosting provider and legal counsel before you commit to a plan.
Why Websites Behave Differently in China
Traffic between mainland China and the rest of the internet passes through network filtering and congested international links. A site hosted outside China can still be reachable, but pages may load slowly, and some resources may fail to load at all.
The result is often a site that works well in testing from the U.S. but feels sluggish to the people you are trying to reach. The only reliable way to know is to test from inside mainland China, on real networks, not just from a global testing tool.
What Is an ICP Filing?
An ICP filing (often called an ICP license or ICP beian) is a registration with Chinese regulators that is generally required to publish a website from servers located in mainland China. The filing system is run by the Ministry of Industry and Information Technology (MIIT) at beian.miit.gov.cn (工业和信息化部 ICP 备案). The details depend on the type of site, whether it is commercial, and the domain and hosting provider involved.
- The filing is tied to your domain and your hosting provider in China.
- It usually requires an organization or individual with a presence in China, along with supporting documents.
- Hosting providers in China typically guide you through submitting the filing.
- It can take several weeks, so it belongs at the start of the project schedule.
- Additional registrations may apply after launch, depending on the site. For example, a public security filing through the national public security registration platform may also be expected.
Plan Space in Your Website for the Filing Number
Once a site is approved, it is generally expected to display its ICP filing number, usually in the footer of every page, linked to beian.miit.gov.cn so that visitors and regulators can look up the record. Sites with a public security filing often display that registration number as well.
A China-facing version of the site needs a footer area where the filing number can be added and linked as soon as it is issued. Building that in from the start avoids a last-minute template change at launch.
Your Hosting Options
| Option | ICP filing | Considerations |
|---|---|---|
| Host outside China (global hosting or CDN) | Not required for hosting | Simplest to launch. Performance for mainland visitors can be inconsistent and should be tested. |
| Host in Hong Kong | Generally not required for hosting | A middle path. Performance for mainland visitors varies by network and provider. |
| Host in mainland China (for example, Azure China) | Required | Best potential performance for local visitors, with the most setup work and ongoing coordination. |
The right choice depends on how important mainland visitors are to the business, how fast the site needs to be for them, and how much lead time the project has.
Singapore vs. Mainland China: Key Differences
Singapore is a popular choice for serving Asia from outside China. Mainland China hosting means servers physically located inside the country, in regions such as Shanghai. Here is how the two compare.
| Factor | Singapore (outside China) | Mainland China (for example, Shanghai) |
|---|---|---|
| ICP filing | Not required for hosting | Required before the site can go live |
| Performance for mainland visitors | Usually closer than hosting in the U.S. or Europe, but traffic still crosses China’s international network boundary, so results can be inconsistent | Content is served from inside China, which gives the best potential performance and consistency |
| Time to launch | Faster, with no filing to wait for | Longer, because the ICP filing can take several weeks |
| Legal presence in China | Not needed for hosting | Usually needed for the filing |
| Cloud platform | Standard global providers and global Azure regions | A separate environment, such as Azure China operated by 21Vianet, or a China-based provider, with separate accounts and billing |
| Service availability | Full range of global services | Some services and features may be limited or arrive later |
| Data location | Stored outside China | Stored in China, which affects privacy and data transfer planning |
| Third-party tools | Blocked or slow tools stay blocked or slow for mainland visitors | The same applies. Hosting inside China does not fix tools loaded from outside |
| Ongoing work | Similar to running any global site | More coordination with the provider, and filing details to keep current |
Where Shanghai Fits
Shanghai is one of several mainland regions offered by cloud providers. Hosting there is mainland China hosting, so the ICP filing and the other requirements above apply. Other mainland regions work the same way for compliance purposes. The choice between them is mostly about provider availability and network performance to your visitors, so ask your provider and test from the cities that matter to you.
Which Should You Choose?
Singapore may be enough if mainland visitors are one audience among many, you need to launch quickly, or you have no legal presence in China.
Mainland hosting is worth considering when mainland visitors are your primary audience and speed matters to them, as long as you can handle the ICP filing and the extra coordination.
Many teams phase it. Launch outside China, see how the site performs for mainland visitors, and move to mainland hosting later if the numbers justify it. If you think you may move, start the ICP filing early.
Real-world results depend on the provider, the visitor’s network, and the site itself, so test before deciding.
How Azure China Differs From Global Azure
Azure China is operated by a separate company, 21Vianet, and runs as its own environment. Teams that know global Azure should not assume the two behave the same. Microsoft publishes details on its Azure China site and in its Azure China documentation.
Azure China has its own sign-in, subscriptions, portal, billing, and support, so existing global Azure accounts do not carry over. Some services and features available in global Azure may be missing or arrive later. Data stays in China regions, which matters when you plan backups, integrations, or anything else that moves data in or out.
A site that runs well in global Azure usually needs to be reviewed, and sometimes rebuilt in part, before it runs well in Azure China.
What Often Needs to Change on the Website
Even a well-hosted site can fail for mainland visitors because of the third-party services it depends on. Check each of these:
- Fonts, scripts, and embeds loaded from services that are blocked or unreliable in China can slow pages down or leave blank areas.
- Global analytics and tag management tools may not work consistently, so plan measurement for China separately and check what you are allowed to collect.
- Test every public form. Some anti-spam and verification services may not load.
- Maps, video, and social widgets are frequent causes of broken or slow sections.
- Make sure form submissions still reach your email and CRM systems.
- Certificates, DNS records, and CDN settings may need regional configuration.
- Leave room in the footer for the ICP filing number and any related registration numbers.
Privacy and Language Considerations
China has its own data protection rules, including requirements that can affect how personal information is collected, stored, and transferred. Review the site’s consent experience, forms, and tracking against those rules before launch.
Chinese-language content needs its own testing. Check layout, fonts, forms, and navigation with real content and real users.
A Planning Checklist
- Decide how important mainland visitors are, and what performance they need.
- Choose a hosting approach: outside China (for example, Singapore), Hong Kong, or mainland China (for example, Shanghai).
- If hosting in the mainland, start the ICP filing early through your provider.
- Plan footer space for the ICP filing number, linked to beian.miit.gov.cn, and for any related registration numbers.
- Audit every third-party script, font, form, map, and embed.
- Plan China-specific analytics, consent, and privacy handling.
- Configure DNS, SSL, and CDN for the target region.
- Test from inside mainland China, on more than one network, before and after launch.
- Monitor uptime and performance for those visitors after launch.
How AZTANDC Can Help
AZTANDC supports projects that involve China-based infrastructure, including ICP considerations and Azure China where required. Our international and accessibility services and cloud architecture services cover regional hosting, delivery, and testing the paths people actually use.
If you are planning a site for visitors in China, contact us to talk through your goals, timeline, and options.