Devin
10/28/2021, 11:40 PM<http://mycoolsite.com|mycoolsite.com>
with a NS record and an SOA record if I view it in the aws console. I would like to set up both <http://www.mycoolsite.com|www.mycoolsite.com>
and <http://mycoolsite.com|mycoolsite.com>
. Is the following okay or should I delete the hosted domain manually in the console.
// Create a Next.js site
<http://this.site|this.site> = new sst.NextjsSite(this, "Site", {
path: "frontend",
customDomain:
scope.stage === "prod"
? {
domainName: "<http://mycoolsite.com|mycoolsite.com>",
domainAlias: "<http://wwww.mycoolsite.com|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!