Follow the steps below
- Create a
now.json
file in the root - Add
"alias": ["sub.domain.tld"]
to thenow.json
file - Test running
now --target staging
ornow alias alias_you_have.now.sh sub.domain.tld
- From the provided options add the "_now"
TXT
record with the string value "d7054dfebc7b21..." to your subdomain in the domain dashboard — wherever you host your domain - Add two
CNAME
records with your subdomain i.esub
andwww.sub
that point to "alias.zeit.co" - Wait and try test running
now --target staging
ornow alias alias_you_have.now.sh sub.domain.tld