Updated on 2023-02-28 GMT+08:00

Binding Domain Names

Overview

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 classified into private and public domain names.

  • Private domain name: Service systems deployed on the cloud service platform can use private domain names to access ROMA Connect APIs.
  • Public domain name: Service systems deployed outside the cloud service platform can use public domain 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.
    1. Apply for a private zone. For details, see Creating a Private Zone.
    2. Configure an A record set to map the domain name to the APIC address. For details, see Adding an A Record Set.
    3. 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.
    1. Apply for a public zone from Domain Registration.
    2. Configure a CNAME record set to map the domain name to the APIC group subdomain name. For details, see Adding a CNAME Record Set.
    3. 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

  1. Log in to the ROMA Connect console. On the Instances page, click View Console of an instance.
  2. In the navigation pane on the left, choose API Connect > API Management. On the API Groups tab page, click More > Manage Domain Name in the Operation column of the target API group.
  3. On the Domain Names tab page, click Bind Independent Domain Name.
  4. In the Bind Independent Domain Name dialog box displayed, enter the domain name and click OK.
    Table 1 Independent domain name configuration

    Parameter

    Description

    Domain Name

    Enter the domain name to be bound.

    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.

  5. (Optional) If the API group contains HTTPS-compatible APIs, bind an SSL certificate for the independent domain name. Otherwise, skip this step.
    1. Click Select SSL Certificate on the right of the independent domain name.
    2. In the displayed dialog box, select the SSL certificate to be bound and click OK.

      If no SSL certificate is available, click Create SSL Certificate to create one. For details, see Creating an SSL Certificate.