I am trying to map my api to custom domain. Let's say I have a website hosted through route 53 (example.com ), then I want my the api to be at api.example.com. So, I am following this link, I did everything as it said. But, when I do https://api.example.com/apiresource ,it says cannot resolve DNS. So, I am not sure if I have to setup another hosted zone for api.example.com and create NS record set ? The documentation doesn't say about it. I would appreciate any help.
api.example.com
instead of just typingapi
in the box at the top (.example.com
is implied). Obviously, thedjozxyqkexample.cloudfront.net
value will be the one you got from API Gateway, not the one in the example. - Michael - sqlbot