Hi everyone,
I recently followed multiple tutorials from both AWS and Youtube to make sure I set up everything correctly. To summarize - I've set up a custom domain name for an api in API Gateway, and I've also configured some Cloudwatch Logs so I know when a request hits the Api. My Route53 has the correct record (using A-Alias type) to route api.mywebsite.com to the API Gateway domain name as seen in the API Gateway console. However, when I try to see if api.mywebsite.com resolves correctly, it does not. In addition, it does not log anything to Cloudwatch, suggesting that it's not even routing traffic.
Things I've tried -
- adding different routes to the API Gateway configuration.
- modifying the custom domain name mapping to have an empty path so that api.mywebsite.com by itself is accepted by API Gateway, theoretically.
- changing the ACM certificate used by the custom domain to match the name of api.mywebsite.com, character for character.
- adding a $default route in API Gateway that will accept any path.
I feel like I'm reaching the end of my rope here. I apologize in advance if these forums are not the best place for such questions.