SOLVED Combination of apache and iocage for multiple jails

Oriann

Explorer
Joined
Dec 15, 2018
Messages
84
Hello

I wanna ask maybe dumb thing but I have already tried some tests and nothing worked as I expected.

I have 2 jails now.
Jail 1 - nextcloud
jail 2 - syncthing

I wanna acces theese two services from my domain like accesing my nextcloud from cloud.mydomain.com and syncthing like sync.mydomain.com

DO I need to install FAMP separately into jail 1 and jail 2 to work this properly ?

I have already tried to do it bude I ended with apache error that service is in use or port is used, Lets Encrypt doesnt work too on jail 2 because on port 80 was already apache in jail 1

So is here a solution to run apache separately in every jail ?
OR do I need to run 1 jail with 1 apache and all services that I want to acces from mydomain must be in that jail with apache ?

I welcome every hint how to work this out please.
I am working 2 weeks already with freebsd but some solutions I cannot find on the google either.

Sorry for my english :)
 
Top