ロードバランサにトラフィックを送信するには、カスタム ドメインの DNS レコード(例: my-app-domain)がロードバランサの IP アドレスを指している必要があります。
グローバル転送ルールの IP アドレスを確認するには、次のコマンドを使用します。
gcloud compute forwarding-rules list
ロードバランサの IP アドレスを参照するようにドメインの DNS A または AAAA レコードを更新します。これにより、既存のカスタム ドメイン URL に送信されたトラフィックがロードバランサ経由でルーティングされるようになります。DNS によってこの変更が DNS サーバーに伝播されるまでに、短い場合で数秒、長い場合で数時間を要する可能性があります。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-06 UTC。"],[[["Configuring a custom domain for API Gateway involves setting up HTTP(S) Load Balancing for API Gateway."],["Updating your custom domain's DNS records to point to the load balancer service is required after setting up the HTTP(S) load balancer."],["To direct traffic to the load balancer, the DNS record of the custom domain must point to the load balancer's IP address(es)."],["Updating the domain's DNS A or AAAA record to the load balancer's IP address routes traffic through the load balancer, with DNS propagation taking varying amounts of time."],["Utilizing a static IP address with DNS when using an HTTP(S) Load Balancer is recommended."]]],[]]