There’s a a very nice guide on how to do this at https://vercel.com/guides/how-can-i-serve-multiple-projects-under-a-single-domain but all I am getting is 404 errors. Do I need more in the root domain app than a vercel.json? I can go directly to my secondary project using the internal vercel domain, but not when using the rewrite format suggested in the guide.
Hey @jakenuts. The source project shouldn’t need anything extra. The / rewrite should show the index page of the destination project. And then the destination project would need to have additional routes configured aside from the index page to make the /:match rewrite do anything.
If you’re still having trouble with it, please let me know the source domain so I can take a look. I would be happy to help you debug.
Thanks so much! The root domain is wonderlab.ai and it seems to be configured properly but the rewrite configuration. The current vercel.json looks like this:
What is the structure of the project with that vercel.json file? It needs to be at the root of the project for the rewrites to work, so I want to rule out repo structure as the issue.