Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch preview #294

Closed
adamchipperfield opened this issue Aug 14, 2023 · 5 comments · May be fixed by #325
Closed

Branch preview #294

adamchipperfield opened this issue Aug 14, 2023 · 5 comments · May be fixed by #325

Comments

@adamchipperfield
Copy link

Is it possible to get this working with branch preview URLs? So sub-domain.project-git-feature-branch.vercel.app, where sub-domain is what the user has set as their subdomain.

If I try this I get SSL issues, as if Vercel can't handle wildcard subdomains on branch previews.

@sharshi
Copy link

sharshi commented Aug 16, 2023

I get 404's on all preview links - not sure what the correct setup besides enabling wildcard domains. I feel like there might be some sort of conflict because of the NEXT_PUBLIC_ROOT_DOMAIN setting being different to vercel.app.

@lukasburns
Copy link

Any luck with this so far?

@goussaka-salah
Copy link

is there any update regarding this

@steven-tey
Copy link
Contributor

Hey everyone! That's possible with Preview Deployment Suffixes – we recently added a section on this in the guide: https://vercel.com/guides/nextjs-multi-tenant-application#3.-multi-tenant-preview-urls

CleanShot 2023-11-14 at 10 58 13

It's currently in beta for Enterprise teams on Vercel, but we're planning to open this up to more customers in the future. Stay tuned!

@joshualinog
Copy link

$100/month is the answer?

Preview Deployment Suffixes

This seems ridiculous to be the solution to a problem related to a 404 error on preview urls.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants