Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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