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

Stuck on "add your root domain & wildcard domain." from guide #391

Open
sean-dealhouse opened this issue Feb 25, 2024 · 4 comments
Open

Comments

@sean-dealhouse
Copy link

Hi,

I've been following the guide https://vercel.com/guides/nextjs-multi-tenant-application and I can't seem to follow the instructions on Step 5 to configure the wildcard domain.

When I try to add *.<PROJECT_SLUG>.vercel.app I get the error "<TEAM_SLUG>" does not have access to "*.<PROJECT_SLUG>.vercel.app" domains..

I saw #149 which suggested I should be adding the team slug instead of project, which works, but doesn't fix the "This site can’t provide a secure connection" error when visiting https://app.<PROJECT_SLUG>.vercel.app/ issue that this domain aims to solve?

Any help would be greatly appreciated, thanks!

@vpaflah
Copy link

vpaflah commented Mar 1, 2024

if you are planning to add a domain for example demosite.com, then you have to add the domain (demosite.com) and the wildcard entry for that domain ( *.demosite.com ) to the project. And if you don't have a domain right now, then you can use the default vercel url generated by vercel. in this case you can add domain (<PROJECT_SLUG>.vercel.app) and a wildcard entry for this domain ( *.<PROJECT_SLUG>.vercel.app )

Examples

  1. Custom Domain
    demosite.com, *.demosite.com
  2. Vercel Generated URL
    demourl.vercel.app, *.demourl.vercel.app

@sean-dealhouse
Copy link
Author

sean-dealhouse commented Mar 3, 2024

Sorry yeah I'm trying to use the default vercel domain. I mentioned in the issue though that

When I try to add .<PROJECT_SLUG>.vercel.app I get the error "<TEAM_SLUG>" does not have access to ".<PROJECT_SLUG>.vercel.app" domains..

So adding *.<PROJECT_SLUG>.vercel.app doesn't seem to be working for me

@mj-meyer
Copy link

So adding *.<PROJECT_SLUG>.vercel.app doesn't seem to be working for me

same here.

@mworks-proj
Copy link

what about two root domains: ie; domain.com & domain.pro ? anyone try this?

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

No branches or pull requests

4 participants