Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP

Jenny Swift
Jenny Swift
21,999 Points

multiple repositories on one domain with Laravel Forge

Hi, I am using Laravel Forge and would like to have multiple repositories on one domain. For example:

www.my_apps.com/app1
www.my_apps.com/app2
www.my_apps.com/app3

The reason I want them all on one domain is to save money-so I only have to pay for one domain.

Is this possible, please? I’ve Googled and it seems others use a separate domain for each repository. I would have thought other people would, like me, prefer to just pay for one domain?

I suppose maybe I could combine all my repositories into one to make it work, but that would seem messy, because my apps could be unrelated and so it doesn’t feel like they should all go in the same repository.

I thought maybe I could change the path in the Nginx configuration to make it work, but I tried that and it didn’t work, and I don’t really know what Nginx configuration is anyway.

1 Answer