platforms icon indicating copy to clipboard operation
platforms copied to clipboard

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

Open sean-dealhouse opened this issue 1 year ago • 4 comments

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 https://github.com/vercel/platforms/issues/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!

sean-dealhouse avatar Feb 25 '24 04:02 sean-dealhouse

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

vpaflah avatar Mar 01 '24 04:03 vpaflah

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

sean-dealhouse avatar Mar 03 '24 08:03 sean-dealhouse

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

same here.

mj-meyer avatar Apr 16 '24 11:04 mj-meyer

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

mworks-proj avatar Jun 04 '24 01:06 mworks-proj