Binding Domain Names
Before you expose an API, bind an independent domain name to the API group so that APIs in the group can be accessed with the domain name.
Independent domain names are private or public.
- Private domain name: Service systems deployed on the cloud service platform use these names to access ROMA Connect APIs.
- Public domain name: Service systems deployed outside the cloud service platform use these names to access ROMA Connect APIs.
For internal testing, use the default subdomain name to access APIs in an API group (maximum 1000 times a day). The subdomain name cannot be modified.
Obtaining Domain Names
- To enable a service system on the cloud service platform to access APIs, obtain a private zone as an independent domain name.
- Apply for a private zone. For details, see Creating a Private Zone.
- Configure an A record set to map the domain name to the APIC address. For details, see Adding an A Record Set.
- If the API group contains HTTPS-compatible APIs, add an SSL certificate for the independent domain name bound to the group. Obtain the content and keys of the SSL certificate and create an SSL certificate in advance.
- To enable a service system outside the cloud service platform to access APIs, obtain a public zone as an independent domain name.
- Apply for a public zone from Domain Registration.
- Configure a CNAME record set to map the domain name to the APIC group subdomain name. For details, see Adding a CNAME Record Set.
- If the API group contains HTTPS-compatible APIs, add an SSL certificate for the independent domain name bound to the group. Obtain the content and keys of the SSL certificate and create an SSL certificate in advance.
Binding Domain Names
- Log in to the ROMA Connect console. On the Instances page, click View Console of an instance.
- In the navigation pane on the left, choose API Connect > API Groups. Click the name of an API group to view details.
- On the Group Information tab, click Bind Independent Domain Name.
- In the displayed dialog box, enter the domain name and click OK.
Table 1 Independent domain name configuration Parameter
Description
Domain Name
Enter the domain name to bind.
Minimum TLS Version
Select the minimum TLS version used for domain name access. This parameter applies only to HTTPS. Other modes, such as HTTP, are not affected.
HTTP-to-HTTPS Auto Redirection
Whether to support HTTP-to-HTTPS redirection.
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.
NOTE:Redirection is only suitable for GET and HEAD requests. Redirecting other requests may cause data loss due to browser restrictions.
- (Optional) If the API group contains HTTPS-compatible APIs, bind an SSL certificate to the independent domain name.
- Click Select SSL Certificate on the right of the independent domain name.
- In the displayed dialog box, select the SSL certificate to be bound and click OK.
- If a CA certificate has been configured for the SSL certificate, client authentication (HTTPS two-way authentication) is enabled by default.
- If no SSL certificate is available, click Create SSL Certificate to create one. For details, see Creating an SSL Certificate.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot