The domain name for calling APIs includes the debugging domain name and independent domain name. The debugging domain name is an internal domain name automatically allocated by the system for testing after an API group is created. It can be accessed for a maximum of 1,000 times per day. When opening an API, you need to bind an independent domain name to the API group so that users can access APIs in the API group using the independent domain name. A maximum of five independent domain names can be added, and the number of access times is not limited.
Independent domain names are classified into private and public domain names.
If the independent domain name you select is a wildcard domain name (for example, *.aaa.com), you can use any of its subdomain names (for example, default.aaa.com and 1.aaa.com) to access all APIs in the group to which the domain name is bound.
Configure a CNAME record set of the API group debugging domain name. For details, see "Adding a CNAME Record Set" in the Domain Name Service User Guide.
Parameter | Description |
|---|---|
Domain Name | |
Minimum TLS Version | TLS is a security protocol used to ensure security and data integrity for Internet communication. Options: TLS1.1, TLS1.2 (recommended). TLS1.0 and TLS1.3 are not supported. This parameter applies only to HTTPS and does not take effect for HTTP and other access modes. Configure HTTPS cipher suites using the ssl_ciphers parameter on the Parameters tab. |
HTTP-to-HTTPS Auto Redirection | HTTP APIs are insecure in transmission and authentication. You can upgrade them for access over HTTPS while ensuring HTTP compatibility. Redirection takes effect only when the API request protocol is HTTPS or HTTP&HTTPS and an SSL certificate has been bound to the independent domain name. Redirection is only suitable for GET and HEAD requests. Redirecting other requests may cause data loss due to browser restrictions. |
HTTP Port | The default value is 80, which is the default HTTP port number. You can customize the inbound port. For details, see Customizing Gateway Inbound Ports. If the HTTP port is not used, select suspend. |
HTTPS Port | The default value is 443, which is the default HTTPS port. You can customize the inbound port. For details, see Customizing Gateway Inbound Ports. If the HTTPS port is not used, select suspend. |
If the API group contains HTTPS APIs, bind an SSL certificate to the independent domain name.