Aj1
Aj1

Reputation: 973

AWS API Gateway Custom Domain

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.

Upvotes: 3

Views: 2066

Answers (1)

Aj1
Aj1

Reputation: 973

I solved it by creating host zone for api.example.com.

Upvotes: 1

Related Questions