Next.js Discord

Discord Forum

Is it possible to use a custom domain with Development ENV Variables on Vercel?

Unanswered
Blue-footed Booby posted this in #help-forum
Open in Discord
Avatar
Blue-footed BoobyOP
I'm trying to figure out environment variables feature on Vercel.
I find ENV variables usage a bit complicated. As far as I can tell, Preview or Dev environments aren't automatically connected to branches. So when I pick a branch for preview, and assign environment variables, I can assign a domain to it.

Also it's possible to assign Development Environment variables, but I can't assign custom domain to it, so what is the purpose of it?

Simply put: I'd like use different environment variables for different environments with different domains. How can it be achieved?

0 Replies