How to make more producton branches and domains?

Greetings! Can anyone help with domains? I want to make a main domain and a subdomain as Production. How to do it? Because any branches other than master are marked as Preview, and I need users to be able to navigate to them without problems

Hi @tungusss!

Welcome to the Vercel Community :smile:

I’ll leave some useful information here for you to look at:

Because any branches other than master are marked as Preview, and I need users to be able to navigate to them without problems

Can you explain this a bit more? I don’t quite understand.

Let us know if you have any more questions!

As you can see on the screenshot, I have the main domain ndi.lv and subdomains: dev.ndi.lv - for development, and en.ndi.lv - for the English translation of the site. How do I make en.ndi.lv as ndi.lv so that it will be labeled Production?

You would need to assign all of the domains to the production branch for them to be seen as Production domains.

Translation could be handled within site code rather than in separate deployments. So the subdomains would all point to the main deployment and the code would detect the user’s language preference to determine what content to show. That’s how I’ve seen most sites handle it.

Alternatively, you could set up multiple projects so each translation would be deployed as the production branch in its own project. From there, you could set redirects to move people between the different projects as needed.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.