Hey guys, I have configured my `SST.API` with the ...
# help
j
Hey guys, I have configured my
SST.API
with the following -
Copy code
customDomain: {
  domainName: '<http://api.boxitoff.com|api.boxitoff.com>',
  hostedZone: '<http://api.boxitoff.com|api.boxitoff.com>',
}
and have setup that zone in Route 53 - `api.boxitoff.com`but when I try to deploy using Seed I get (at the end of the deploy) -
Copy code
❌ prod-backend-api: No hosted zone found with ID: xxxxxx (Service: AmazonRoute53; Status Code: 404; Error Code: NoSuchHostedZone; Request ID: xxxxx; Proxy: null)
Apologies if I've missed something in the docs but I've been working on this for a few hours now and have made progress yet still stuck at this point. Preiously I didn't have the
hostedZone
value set
a
did you get the same error without the hostedZone setting?
I only have
customDomain: <http://api.mydomain.com|api.mydomain.com>
and my hosted zone in Route53 is mydomain.com not api.mydomain.com
i think if you omit hostedZone setting, SST just strips the first part of string up to the first dot from customDomain to find hosted zone
j
Hi, thanks for your response. I have my domain registered elsewhere - namecheap so want to just point the subdomain
api.
at AWS.
I think this might be related to Seed, I'll post a question on there and add a link
a
I don’t think you can use an external domain with route53. You’ll have to transfer the domain, create a hosted zone for it and then you’ll be able to use it.
f
I will follow up in the thread in #seed