How does Seed work if you only can deploy to <subd...
# sst
b
How does Seed work if you only can deploy to subdomain.yourdomain.com? I have setup Route 53 to host our subdomain, but not the main domain. But when we build it says:
Copy code
It seems you are configuring custom domains for you URL. And SST is not able to find the hosted zone "<http://yourdomain.com|yourdomain.com>" in your AWS Route 53 account. Please double check and make sure the zone exists, or pass in a different zone.
Do I have my stacks misconfigured?
f
Hey @Bryan Smith, sorry for the late follow up.
Is this for configuring the
Api
domain?
You can specify the hosted zone like this:
Copy code
new Api(this, "Api", {
  customDomain: {
    domainName: "<http://subdomain.yourdomain.com|subdomain.yourdomain.com>",
    hostedZone: "<http://yourdomain.com|yourdomain.com>",
  },
  ...
});
Let me know if this works for you.
b
Hi Frank, yes we solved it, but thanks for following up. This was the solution, we just didn't realize it was working once DNS resolved.