Pick the region first
| Provider | Region | Mainland China | ICP | | --- | --- | --- | --- | | Cloudflare Pages | Global | Unreliable | Not required | | Firebase Hosting | Global | Unreliable | Not required | | Tencent EdgeOne | Global / overseas | Global works | Global needs ICP | | Alibaba Cloud ESA | Global / overseas | Global works | Global needs ICP |
Cloudflare Pages
Credentials
- API token: Pages edit, DNS edit, Zone read and Account Settings read.
- Account ID: 32 hex characters, copied from the dashboard URL.
Notes
- Never use the Global API Key.
- Same-account zones can write the CNAME automatically; cross-account zones need manual records.
Firebase Hosting
Credentials
- Service-account JSON: Firebase console → Project settings → Service accounts → Generate new private key.
- Project ID: the
project_idin the JSON. - IAM role: Firebase Hosting Admin.
Common errors
403 PERMISSION_DENIED: the service account lacks Hosting Admin.- Hosting API not enabled: enable it in Google Cloud.
- Domain pending: check A/TXT records and allow pki.goog in CAA.
Tencent EdgeOne Pages
Credentials
- API token: console → API Token; scope must include Pages deployment.
- Site type:
chinafor the China site andglobalfor the international site; it must match where the token was issued.
Notes
- Pages must be enabled; creating a project fails otherwise.
- The acceleration region is chosen when the site is created and cannot be changed.
- The global region needs an ICP filing; overseas-only is unreachable from mainland China.
Alibaba Cloud ESA Pages
Credentials
- RAM user AccessKey ID / secret.
- Policy: AliyunESAFullAccess.
Prerequisites
- Activate ESA.
- Activate Functions & Pages separately; ESA alone is not enough.
- Before binding a domain, it must belong to an ESA site in the same account.
Common errors
Functions and Pages is not active: Functions & Pages is not activated.Please run command to login: esa-cli's generic error; it usually still means the service is inactive or permissions are missing. Bweb surfaces the real reason.InvalidAccessKeyId/Forbidden: wrong AccessKey or insufficient RAM permissions.
Post-launch checks
- Both the apex and www resolve.
- HTTPS certificate is valid.
- The CNAME points at the provider target, not an IP.
- Forms submit and notifications arrive.
- robots.txt, sitemap.xml and llms.txt are reachable.
- Run a Bweb verification report once.
FAQ
Can I use the provider URL first and connect a domain later? Yes, all four support it.
Can I serve mainland China without an ICP filing? No. EdgeOne and ESA global regions require ICP; without it, use overseas-only.
Can tokens be revoked? Yes, delete or disable them in each provider console.
About the author
Bweb Editorial TeamContent and editorial
Turning first-hand building, publishing, domain and acquisition work into steps readers can follow.
Reviewed by: SHUOFENG
Facts are checked by a person before publishing; AI only assists with drafts and translation.
Editorial standards