You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Mexina Daniel <me...@singo.africa> on 2017/11/16 05:07:34 UTC
Sub-domain to access a tenant
Hello Devs
I have one server which have Mifos of version 16.12.01, i created different tenants and was able to create subdomains which was directed to specific tenant.
But now i have another server which is running Mifos 17.07.01, i have created different tenants, but when i created subdomains and try to access them (tenant1.yyy.co.tz), they access the default tenant.
Is there any changes in the new Mifos, somewhere i can change configuration?
Assistance will be highly appreciated
Regards
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es
salaam
singo.africa | amala.co.tz
Let's grow together
RE: Sub-domain to access a tenant
Posted by "Zayyad A. Said" <za...@intrasofttechnologies.com>.
Great.
Glad to hear you managed.
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: zayyad@intrasofttechnologies.com
-----Original Message-----
From: Mexina Daniel [mailto:mexina@singo.africa]
Sent: 13 December 2017 01:12 PM
To: dev <de...@fineract.apache.org>
Subject: Re: Sub-domain to access a tenant
Hello Zayyad
Thank you, it works now
Regards
From: "Zayyad A. Said" <za...@intrasofttechnologies.com>
To: "dev" <de...@fineract.apache.org>
Sent: Tuesday, December 12, 2017 6:34:33 PM
Subject: RE: Sub-domain to access a tenant
Hello Mexina,
Change ROOT/scripts/routes-initialTasks-webstorage-configuration.bbf48eff.js
Go to the line var baseApiUrl = "https://demo.openmf.org"; and change the demo URL to your default URL say [ https://demo.singo.africa/ | https://demo.singo.africa ] .
Also change domain name on this line to your own: if (mainLink.hostname.indexOf('openmf.org') >= 0)
Restart server and you should be good.
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: [ mailto:zayyad@intrasofttechnologies.com | zayyad@intrasofttechnologies.com ]
-----Original Message-----
From: Mexina Daniel [mailto:mexina@singo.africa]
Sent: 12 December 2017 12:12 PM
To: dev <de...@fineract.apache.org>
Subject: Re: Sub-domain to access a tenant
Hello Zayyad
Which file i have to access in order to change the baseApi?
And after i change, will all my tenants which are in this server be able to be accessed with their specific sub-domain names?
Best Regards
----- Original Message -----
From: "Zayyad A. Said" < [ mailto:zayyad@intrasofttechnologies.com | zayyad@intrasofttechnologies.com ] >
To: "dev" < [ mailto:dev@fineract.apache.org | dev@fineract.apache.org ] >
Sent: Thursday, November 16, 2017 11:19:08 AM
Subject: RE: Sub-domain to access a tenant
Hi Mexina,
Change the baseApi on the new server to use a different subdomain e.g. demo2
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: [ mailto:zayyad@intrasofttechnologies.com | zayyad@intrasofttechnologies.com ]
-----Original Message-----
From: Mexina Daniel [ [ mailto:mexina@singo.africa | mailto:mexina@singo.africa ] ]
Sent: 16 November 2017 08:08 AM
To: dev < [ mailto:dev@fineract.apache.org | dev@fineract.apache.org ] >
Subject: Sub-domain to access a tenant
Hello Devs
I have one server which have Mifos of version 16.12.01, i created different tenants and was able to create subdomains which was directed to specific tenant.
But now i have another server which is running Mifos 17.07.01, i have created different tenants, but when i created subdomains and try to access them (tenant1.yyy.co.tz), they access the default tenant.
Is there any changes in the new Mifos, somewhere i can change configuration?
Assistance will be highly appreciated
Regards
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
Re: Sub-domain to access a tenant
Posted by Mexina Daniel <me...@singo.africa>.
Hello Zayyad
Thank you, it works now
Regards
From: "Zayyad A. Said" <za...@intrasofttechnologies.com>
To: "dev" <de...@fineract.apache.org>
Sent: Tuesday, December 12, 2017 6:34:33 PM
Subject: RE: Sub-domain to access a tenant
Hello Mexina,
Change ROOT/scripts/routes-initialTasks-webstorage-configuration.bbf48eff.js
Go to the line var baseApiUrl = "https://demo.openmf.org"; and change the demo URL to your default URL say [ https://demo.singo.africa/ | https://demo.singo.africa ] .
Also change domain name on this line to your own: if (mainLink.hostname.indexOf('openmf.org') >= 0)
Restart server and you should be good.
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: [ mailto:zayyad@intrasofttechnologies.com | zayyad@intrasofttechnologies.com ]
-----Original Message-----
From: Mexina Daniel [mailto:mexina@singo.africa]
Sent: 12 December 2017 12:12 PM
To: dev <de...@fineract.apache.org>
Subject: Re: Sub-domain to access a tenant
Hello Zayyad
Which file i have to access in order to change the baseApi?
And after i change, will all my tenants which are in this server be able to be accessed with their specific sub-domain names?
Best Regards
----- Original Message -----
From: "Zayyad A. Said" < [ mailto:zayyad@intrasofttechnologies.com | zayyad@intrasofttechnologies.com ] >
To: "dev" < [ mailto:dev@fineract.apache.org | dev@fineract.apache.org ] >
Sent: Thursday, November 16, 2017 11:19:08 AM
Subject: RE: Sub-domain to access a tenant
Hi Mexina,
Change the baseApi on the new server to use a different subdomain e.g. demo2
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: [ mailto:zayyad@intrasofttechnologies.com | zayyad@intrasofttechnologies.com ]
-----Original Message-----
From: Mexina Daniel [ [ mailto:mexina@singo.africa | mailto:mexina@singo.africa ] ]
Sent: 16 November 2017 08:08 AM
To: dev < [ mailto:dev@fineract.apache.org | dev@fineract.apache.org ] >
Subject: Sub-domain to access a tenant
Hello Devs
I have one server which have Mifos of version 16.12.01, i created different tenants and was able to create subdomains which was directed to specific tenant.
But now i have another server which is running Mifos 17.07.01, i have created different tenants, but when i created subdomains and try to access them (tenant1.yyy.co.tz), they access the default tenant.
Is there any changes in the new Mifos, somewhere i can change configuration?
Assistance will be highly appreciated
Regards
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es
salaam
singo.africa | amala.co.tz
Let's grow together
RE: Sub-domain to access a tenant
Posted by "Zayyad A. Said" <za...@intrasofttechnologies.com>.
Hello Mexina,
Change ROOT/scripts/routes-initialTasks-webstorage-configuration.bbf48eff.js
Go to the line var baseApiUrl = "https://demo.openmf.org"; and change the demo URL to your default URL say https://demo.singo.africa.
Also change domain name on this line to your own: if (mainLink.hostname.indexOf('openmf.org') >= 0)
Restart server and you should be good.
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: <ma...@intrasofttechnologies.com> zayyad@intrasofttechnologies.com
-----Original Message-----
From: Mexina Daniel [mailto:mexina@singo.africa]
Sent: 12 December 2017 12:12 PM
To: dev <de...@fineract.apache.org>
Subject: Re: Sub-domain to access a tenant
Hello Zayyad
Which file i have to access in order to change the baseApi?
And after i change, will all my tenants which are in this server be able to be accessed with their specific sub-domain names?
Best Regards
----- Original Message -----
From: "Zayyad A. Said" < <ma...@intrasofttechnologies.com> zayyad@intrasofttechnologies.com>
To: "dev" < <ma...@fineract.apache.org> dev@fineract.apache.org>
Sent: Thursday, November 16, 2017 11:19:08 AM
Subject: RE: Sub-domain to access a tenant
Hi Mexina,
Change the baseApi on the new server to use a different subdomain e.g. demo2
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: <ma...@intrasofttechnologies.com> zayyad@intrasofttechnologies.com
-----Original Message-----
From: Mexina Daniel [ <ma...@singo.africa> mailto:mexina@singo.africa]
Sent: 16 November 2017 08:08 AM
To: dev < <ma...@fineract.apache.org> dev@fineract.apache.org>
Subject: Sub-domain to access a tenant
Hello Devs
I have one server which have Mifos of version 16.12.01, i created different tenants and was able to create subdomains which was directed to specific tenant.
But now i have another server which is running Mifos 17.07.01, i have created different tenants, but when i created subdomains and try to access them (tenant1.yyy.co.tz), they access the default tenant.
Is there any changes in the new Mifos, somewhere i can change configuration?
Assistance will be highly appreciated
Regards
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
Re: Sub-domain to access a tenant
Posted by Mexina Daniel <me...@singo.africa>.
Hello Zayyad
Which file i have to access in order to change the baseApi?
And after i change, will all my tenants which are in this server be able to be accessed with their specific sub-domain names?
Best Regards
----- Original Message -----
From: "Zayyad A. Said" <za...@intrasofttechnologies.com>
To: "dev" <de...@fineract.apache.org>
Sent: Thursday, November 16, 2017 11:19:08 AM
Subject: RE: Sub-domain to access a tenant
Hi Mexina,
Change the baseApi on the new server to use a different subdomain e.g. demo2
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: zayyad@intrasofttechnologies.com
-----Original Message-----
From: Mexina Daniel [mailto:mexina@singo.africa]
Sent: 16 November 2017 08:08 AM
To: dev <de...@fineract.apache.org>
Subject: Sub-domain to access a tenant
Hello Devs
I have one server which have Mifos of version 16.12.01, i created different tenants and was able to create subdomains which was directed to specific tenant.
But now i have another server which is running Mifos 17.07.01, i have created different tenants, but when i created subdomains and try to access them (tenant1.yyy.co.tz), they access the default tenant.
Is there any changes in the new Mifos, somewhere i can change configuration?
Assistance will be highly appreciated
Regards
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es
salaam
singo.africa | amala.co.tz
Let's grow together
RE: Sub-domain to access a tenant
Posted by "Zayyad A. Said" <za...@intrasofttechnologies.com>.
Hi Mexina,
Change the baseApi on the new server to use a different subdomain e.g. demo2
Regards;
*******
Zayyad A. Said | Chairman & C.E.O
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: zayyad@intrasofttechnologies.com
-----Original Message-----
From: Mexina Daniel [mailto:mexina@singo.africa]
Sent: 16 November 2017 08:08 AM
To: dev <de...@fineract.apache.org>
Subject: Sub-domain to access a tenant
Hello Devs
I have one server which have Mifos of version 16.12.01, i created different tenants and was able to create subdomains which was directed to specific tenant.
But now i have another server which is running Mifos 17.07.01, i have created different tenants, but when i created subdomains and try to access them (tenant1.yyy.co.tz), they access the default tenant.
Is there any changes in the new Mifos, somewhere i can change configuration?
Assistance will be highly appreciated
Regards
--
Mexina M Daniel
Lead Software Developer
Research & Development
Office: +255 22 261 8511 | Mobile: +255 712 110 791
Singo Africa Limited
Block G, Mbezi Beach B | 7Nakawale Road | P.O BOX 78908 | 14121 Dar es salaam
singo.africa | amala.co.tz
Let's grow together