Next.js Discord

Discord Forum

Vercel: Assigning a domain to dev

Unanswered
Cape lion posted this in #help-forum
Open in Discord
Cape lionOP
In vercel it appears that a branch may be assigned to production , and that domains are automatically asigned to production and preview, and that envirenment variables may be assigned to production, preview, and development.

So how can i assign a domain to development? and a branch to development or preview? Very confused.

Thanks

7 Replies

You can also just add new domain (one you own or a *.vercel.app) one and assign that to a different branch
The “development” checkbox in env variables
Is referring to env variables which your team will get
When they run vercel env pull (or whatever the command is)
It’s for “local” env variables that you want to share across multiple machines during development
Only production and preview env variables are used