Hey when using SST’s static site construct I am ha...
# help
t
Hey when using SST’s static site construct I am having some issues adding a custom domain.
Copy code
It seems you are configuring custom domains for you URL. And SST is not able to find the hosted zone "<http://example.domain.com|example.domain.com>" in your AWS Route 53 account. Please double check and make sure the zone exists, or pass in a different zone.
d
@Thomas Ankcorn do you have
<http://example.domain.com|example.domain.com>
in your route53 as a hostedzone?
t
the hosted zone for <domain.com> exists within the account
I assumed it would create a A and AAAA record for the domain I entered
d
it should yes
but be sure you are running the sst deploy/start with the right aws profile that has that hostedZone
I’ve made mistakes before and thought I was working in the right account/profile but wasnt
it should look like this..
t
ahh okay I guess I should create a hosted zone with the subdomain
d
you should create a hosted zone for whatever hosted zone / “domain” you are passing into StaticSite
t
Thanks for your help
that clears that up 🙂