Hi, I've hit a snag when deploying my app to prod ...
# seed
j
Hi, I've hit a snag when deploying my app to prod using Seed. I have configured the API with
Copy code
customDomain: {
  domainName: '<http://api.boxitoff.com|api.boxitoff.com>',
  hostedZone: '<http://api.boxitoff.com|api.boxitoff.com>',
}
and set that domain in Route 53. My deploy fails late in the process at the api deployment stage with
Copy code
No hosted zone found with ID: xxxxxxDJS2E (Service: AmazonRoute53; Status Code: 404; Error Code: NoSuchHostedZone; Request ID: 603438
The problem I am facing now is that the build process until then correctly finds my hosted zone for the api, it has an ID
xxxxxxxMUBA1
and I can see this at several steps in the build & deploy process. I have confirmed that this is the ID in Route 53. I'm not sure what to do next as the failing ID
xxxxxxDJS2E
is not in my Route 53 config so I am not sure where this is coming from. Can someone help please? I originally posted a request in #help - https://serverless-stack.slack.com/archives/C01JG3B20RY/p1650744821876789
b
3. Then used the customDomain property as you defined above with the domainName and hostedZone both pointing to the same name (in your case api.boxitoff.com) You might need to leave some time for the DNS records to propagate and take effect