This document quickly guides you on how to access the gateway using a custom domain name in AI Gateway. AI Gateway provides access via IP address but does not offer a domain name entry point. Therefore, you need to add an A record in your domain's DNS that points to the IP address provided by AI Gateway.
Overview
You need to complete the following steps sequentially:
1. Add an A record in DNS to bind the IP address provided by AI Gateway.
2. Bind a certificate (if HTTPS is used to access the gateway).
Operation Steps
Step 1: Adding an A Record in DNS to Bind the IP address Provided by the AI Gateway
2. Click the ID/Name of the target instance to go to its details page and access the target gateway instance.
3. Go to Network Configuration > Public Network CLB to obtain the access IP address.
Step 2: Binding a Certificate (If HTTPS Is Used to Access the Gateway)
If you need to access gateway resources via HTTPS, see the Certificate Management steps to bind a certificate. Attention:
If no certificate is bound, a certificate mismatch with the custom domain name occurs when you access the domain via HTTPS. If you use the curl tool for testing, add the -k parameter to skip server certificate verification. In a production environment, you must bind a certificate to use HTTPS.