Help Center/ FunctionGraph/ FAQs/ General FAQs/ How Do I Use a Domain Name to Access an API Registered with API Gateway (Dedicated)?
Updated on 2023-04-27 GMT+08:00

How Do I Use a Domain Name to Access an API Registered with API Gateway (Dedicated)?

The domain name www.test.com is used as an example. The procedure is as follows:

  1. Log in to the API Gateway console, choose Dedicated Gateways in the navigation pane, and click the target gateway name. On the Gateway Information page, view EIP in the Inbound Access area to obtain the IP address of the API gateway.
  2. On the DNS console, configure an IPv4 rule for mapping www.test.com to an API gateway address.
  3. Configure domain name resolution by referring to How Does FunctionGraph Resolve a Private DNS Domain Name?. In this way, you can access the API registered with the API gateway by using domain name www.test.com.