https://serverless-stack.com/ logo
#help
Title
# help
a

Ayo

03/23/2022, 1:11 AM
Hey so I created a new hostedzone on route53 to be my api base url and when I try to deploy, I get this error. Is anyone familiar with this and how to solve?
f

Frank

03/23/2022, 1:18 AM
Hey @Ayo, can u try setting
<http://ayo.getswype.io|ayo.getswype.io>
as the “domainName” and
v3
as the “path”.
a

Ayo

03/23/2022, 3:31 AM
Thanks @Frank that did the trick
But I have another question where o created two separate GitHub repos but I want both repos to point to the same customdomain. Right now if I deploy on one repo and try to deploy on another, i get an error saying Ayo.getswype.io already exists on a stack
Is there a way to go around this?
f

Frank

03/23/2022, 5:18 AM
in the other SST app, u can import the existing domain, and use a different
path
. Here’s an exmample https://docs.serverless-stack.com/constructs/Api#importing-an-existing-api-gateway-custom-domain
4 Views