Skip to main content

FAQ

Domain onboarding​

Why can't the custom domain be accessed?​

Follow the steps below to troubleshoot the issue:

  1. Check domain status: Confirm that the domain is connected and domain ownership verification has completed. ICP filing is not required on the international site.
  2. Verify resolution configuration: Confirm whether the CNAME resolution record is configured correctly.
  3. Test DNS resolution: Use the nslookup command to check whether the DNS resolution has taken effect.
  4. Check the SSL certificate: If HTTPS is used, confirm whether the SSL certificate is configured correctly.
  5. Check the route configuration: even with the domain connected, requests reach no backend resource without a matching route. See "The domain resolves but returns 404" below.

How to Update the SSL Certificate for a Bound Domain​

  1. Go to CloudBase Platform/HTTP Gateway
  2. Locate the bound domain and click 'Edit'
  3. Update the SSL certificate configuration and save

How to Delete a Bound Custom Domain​

  1. Go to CloudBase Platform/HTTP Gateway
  2. Locate the domain to be deleted and click 'Delete'
  3. Confirm the deletion operation

⚠️ Note: After deletion, the domain will no longer be able to access your CloudBase service.

How to Switch from a Custom CDN to CloudBase CDN​

  1. Click 'Modify CDN Type', select CloudBase CDN. After modification, a new CNAME domain will be generated.
  2. If the CloudBase console prompts "The domain already exists in CDN. Please go to Static Website Hosting or CDN console to delete it before rebinding", you need to delete the domain in the CDN console before proceeding.
  3. Modify the DNS resolution to the new CNAME domain

⚠️ Note: After deleting the domain, it will cause abnormal access to your service. Please proceed with caution.

How to Seamlessly Switch from CloudBase CDN to a Custom CDN​

Currently not supported. If you require a lossless switch, please contact us.

How to Seamlessly Switch from Tencent Cloud Custom CDN to CloudBase CDN​

  1. Click 'Modify CDN Type', select 'Disable CDN'. After modification, a new CNAME domain will be regenerated.
  2. After manually confirming that access is normal, modify the DNS resolution to the CNAME domain without CDN.
  3. Delete Tencent Cloud custom CDN
  4. Click 'Modify CDN Type', select CloudBase CDN. After modification, a new CNAME domain will be regenerated.
  5. After manually confirming that access is normal, modify the DNS resolution to the CNAME domain of CloudBase CDN.

How to manually check whether access is normal before modifying DNS resolution?​

  1. Configure the route
  2. Configure the TXT record used for domain ownership verification. See Domain ownership verification
  3. Locally use curl to access the resource path and verify whether the response is correct
# HTTP Access Probe
curl -v --resolve [www.example.com]:80:[cname.domain] http://www.example.com/[your-path]

# HTTPS Access Probe
curl -v --resolve [www.example.com]:443:[cname.domain] https://www.example.com/[your-path]

Parameter description:

  • www.example.com: replace with your custom domain
  • cname.domain: replace with your CNAME domain
  • your-path: replace with your resource access path

Routing and access​

The domain resolves, but requests return 404 or no matching route​

The HTTP Gateway matches routes by domain and path. With the domain connected but no matching route, requests reach no backend resource:

  1. Confirm that routes are configured under the domain. Entry: HTTP Gateway → target domain → Routes
  2. Confirm the request path matches the route's Path; / means the whole site
  3. Follow the guide for your upstream resource: cloud function, static hosting, CloudBase Run, cloud storage

See Route matching rules for matching priority.

Browser reports a CORS error​

Cross-origin access is decided by two layers. See CORS settings:

  1. Security domain allowlist: confirm the page's domain is in the allowlist; wildcards and ports are supported
  2. Route-level CORS validation: confirm the route has CORS validation enabled. When disabled, the gateway adds no CORS headers, so the cloud function or CloudBase Run service must return them

Requests return 429 or are clearly rate limited​

The HTTP Gateway supports per-route rate limits and rejects requests over quota. Check the limit configured on that route. See Rate limiting.

Can I customize 4XX error pages?​

Yes. When enabled, the gateway serves your custom page instead of the default one for 4XX client errors. This capability is currently available only on the Platform Edition. See Custom error pages.

Network access​

Can the environment still be reached after public access is disabled?​

No. Once public access control is disabled, all public entry points stop working and only internal paths such as a VPC remain. Traffic must go through a connected private network. See Public access control.

Validate and complete the internal path before switching, so that production calls are not interrupted.

How can an office network reach the environment without the public network?​

Use a VPC endpoint (PrivateLink) so the office network reaches CloudBase over the enterprise VPC, with the domain unchanged. See Access CloudBase from an office network through a VPC.

Domains and wildcards​

Do I have to onboard subdomains one by one?​

No. With a wildcard domain (such as *.example.com) connected, subdomains it covers are usable right away without individual onboarding or verification. See Wildcard domain access.

Why does the default domain show an interstitial page?​

Default domains are for development and testing. Browsers show an access notice page as a security reminder. For production, bind a custom domain with ICP filing. See Default domain access limits and interstitial page.