Different instance for different path


I’m wondering if it’s possible for there to be a different instance on Netlify for a different path for the domain.

I have mysite.com as one of the domains associated with an instance on my account, but I want to have mysite.com/path1 in a different instance instead of it being under the mysite.com instance.

I want to do this because I’m connecting most of the sites from GitHub, and I have a different repository for each project, but I guess I could just put all the folders under the apex domain if it’s not possible.

Sorry in advance if I didn’t fully clarify something, I don’t really know how to explain it well in words.

hi @yangci - maybe a monorepo is what you need?

Yeah, but I’m not very sure how to use it.

Should I have different folders in one site or do I create different site for each repository? I read the docs but I’m confused as to how to configure it.

I think what you actually want is this workflow:

  • that seems like a more direct answer to your question with a good example use case.

Let me know if that doesn’t work out for you!