Devin
10/28/2021, 11:40 PMmycoolsite.com with a NS record and an SOA record if I view it in the aws console. I would like to set up both www.mycoolsite.com and mycoolsite.com . Is the following okay or should I delete the hosted domain manually in the console.
// Create a Next.js site
this.site = new sst.NextjsSite(this, "Site", {
path: "frontend",
customDomain:
scope.stage === "prod"
? {
domainName: "mycoolsite.com",
domainAlias: "wwww.mycoolsite.com",
}
: undefined,thdxr
10/28/2021, 11:44 PMthdxr
10/28/2021, 11:44 PMthdxr
10/28/2021, 11:44 PMDevin
10/28/2021, 11:45 PMDevin
10/28/2021, 11:45 PMthdxr
10/28/2021, 11:46 PMthdxr
10/28/2021, 11:46 PMDevin
10/28/2021, 11:47 PMDevin
10/28/2021, 11:47 PMDevin
10/28/2021, 11:48 PMthdxr
10/28/2021, 11:50 PMDevin
10/28/2021, 11:54 PMnpx sst start 🤞
It’s realy great that ya’ll are so helpful. Thanks!