Next.js Discord

Discord Forum

Multiple domains on vercel

Answered
Sun bear posted this in #help-forum
Open in Discord
Avatar
Sun bearOP
every time i push code to github, project is deployed on github
So are these domains same, or what is difference between them, and cannot i have only one domain, like primary one that will be changed after every push
Answered by Yi Lon Ma
if you open domain tag of your project you will see domains which are permanent
View full answer

15 Replies

Avatar
Sun bearOP
i want main domain link that alwys will be up to date
Avatar
Yi Lon Ma
if you open domain tag of your project you will see domains which are permanent
Answer
Avatar
Sun bearOP
Image
Avatar
Yi Lon Ma
yes
Avatar
Sun bearOP
As i see every domain is updated
so why we need these different domains
for deployments if every one is updated
Avatar
Yi Lon Ma
they're for different branches
Avatar
Sun bearOP
can you explain more
i know branches and etc
Avatar
Sun bearOP
Do these branches have their own enviroment variables
Avatar
Yi Lon Ma
you can configure env var for different enviroment but I don't think for each domain
Avatar
Sun bearOP
okay
Thanks