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 The ORM Joker
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
The ORM Joker
if you open domain tag of your project you will see domains which are permanent
Answer
Avatar
Sun bearOP
Image
Avatar
The ORM Joker
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
The ORM Joker
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
The ORM Joker
you can configure env var for different enviroment but I don't think for each domain
Avatar
Sun bearOP
okay
Thanks