I cannot access the API Gateway with a custom domain configured, so please tell me the solution

I cannot access the API Gateway with a custom domain configured, so please tell me the solution

2025.11.11

日本語版はこちら

The issue

I configured the following settings to use a custom domain with API Gateway:

  • Domain registration
  • Certificate issuance with ACM
  • API Gateway side configuration

After the above configuration, I accessed the custom domain but cannot access it, so please tell me the solution.

The solution

Please create or update the resource records in your DNS provider to map to the API endpoint.
Custom domain name for public REST APIs in API Gateway - Amazon API Gateway

You must create or update your DNS provider's resource record to map to your API endpoint. Without such a mapping, API requests bound for the custom domain name cannot reach API Gateway.

When configuring a custom domain in API Gateway, an API Gateway domain name is issued, so you create resource records for this domain name from Route 53 or similar services.
2025-11-11_08h55_07

With Route 53, you can specify it using an alias record.
2025-11-11_08h56_19

References

この記事をシェアする

FacebookHatena blogX

関連記事