- Newest
- Most votes
- Most comments
Based on the information provided, it seems that the issue lies in the connection between your custom domain and the API Gateway, rather than with the individual components themselves. Here are a few potential reasons and steps to troubleshoot:
-
API Mapping: Check if the API mapping between your custom domain and the API Gateway stage is still intact. Sometimes, these mappings can become disconnected or deleted unintentionally.
-
DNS Configuration: Verify that your DNS settings in Route 53 are still correctly pointing to your API Gateway endpoint. DNS changes can sometimes take time to propagate, so ensure that the records are up-to-date and haven't been altered.
-
Certificate Issues: Although you mentioned the SSL certificate is still working fine, double-check that it hasn't expired or been revoked. Certificates typically have a validity period, and if it's close to expiration, it might cause issues.
-
API Gateway Changes: If there have been any recent deployments or changes to your API Gateway, ensure that these haven't affected the custom domain name configuration.
-
Service-Linked Role: API Gateway uses a service-linked role to manage resources. If this role has been deleted or modified, it could affect the custom domain integration.
-
Regional vs. Edge-Optimized Endpoints: If you've recently changed your API Gateway from a regional to an edge-optimized endpoint (or vice versa), this could affect your custom domain setup.
To resolve the issue:
-
In the API Gateway console, go to the Custom Domain Names section and verify that your domain is still listed and properly configured.
-
Check the API mappings for your custom domain and ensure they are correctly pointing to the right API and stage.
-
If everything looks correct in API Gateway, try removing the custom domain and re-creating it, then re-mapping it to your API.
-
If the problem persists, you may need to contact AWS support for further assistance, as there could be an underlying issue with the API Gateway service itself.
Remember to test thoroughly after making any changes to ensure the connection is re-established correctly.
Sources
Custom domain name for public REST APIs in API Gateway - Amazon API Gateway
Custom domain names for HTTP APIs in API Gateway - Amazon API Gateway
Custom domain names for WebSocket APIs in API Gateway - Amazon API Gateway
Using service-linked roles for API Gateway - Amazon API Gateway
The issue was not with Route 53 or API Gateway, but rather because the domain was suspended after failing to verify it within 15 days of purchasing it through Route 53.
Relevant content
- asked 2 years ago
- Accepted Answerasked 7 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
still not working can you check this post? https://repost.aws/questions/QUUED-J85ARtqYB7PvOiOG6A/route-53-custom-domain-name-api-gateway의-연결이-원활하지-않습니다-현재-연결-불가능