I use sub-domains with Forge like this.
- At Digital Ocean add CNAME
apiwith valueexample.com - Go to Forge, Sites >> Add Site and enter
api.example.com - Visit
http://api.example.comand you'll see default PHP Info page.
Now repeat for all the rest.
Hi, I am using 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 to each other and so it doesn’t feel like they should all go in the same repository. And also, I'd want a different database for each app, so maybe that wouldn't work.
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.
I use sub-domains with Forge like this.
api with value example.com
api.example.com
http://api.example.com and you'll see default PHP Info page.Now repeat for all the rest.
Please or to participate in this conversation.