Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Ben Brown
Multiple domains on a single instance.
26 septembre 2013 01:29
Réponse

Ben Brown

Rang: Junior Member

Publications: 74

Date d'inscription: 7 juillet 2010

Publications Récentes

Hi,

We have three domains that we want to point to 3 sites on a single instance of Liferay (we need to share content between the domains and users will need to update pages on each site). I understand how to do this with instances, but would rather use a single instance to share the content.

So if I created an organization for each domain - how do I point a web address at that organisation only?

So:

www.organization1.com would point to organization 1's pages
www.organization3.com would point to organization 2's pages
www.organization3.com would point to organization 3's pages

We running 6.1 EE on Glassfish/MySQL.

Thanks for any help and advice.

Ben
Oliver Bayer
RE: Multiple domains on a single instance.
26 septembre 2013 01:41
Réponse

Oliver Bayer

Rang: Liferay Master

Publications: 871

Date d'inscription: 18 février 2009

Publications Récentes

Hi Ben,

normally you'll have a webserver e.g. Apache webserver sitting in front of your Liferay installation. So you can add 3 virtual host configurations for your 3 domains and add rewriterules for each organization.

HTH Oli
vaseem bari
RE: Multiple domains on a single instance.
26 septembre 2013 01:44
Réponse

vaseem bari

Rang: Junior Member

Publications: 79

Date d'inscription: 26 mars 2008

Publications Récentes

Hi Ben,

You can specify the organization page in the service provider and can be achieved.
You can also do it in the application.
You should have one common page or Home page for all the users, if a user logs in you can redirect him to his organization page.


Vaseem bari
Ben Brown
RE: Multiple domains on a single instance.
26 septembre 2013 01:47
Réponse

Ben Brown

Rang: Junior Member

Publications: 74

Date d'inscription: 7 juillet 2010

Publications Récentes

Hi,

Thanks for the replies, we're hosting Liferay in the cloud (using Jelastic) which doesn't have Apache in front of it.

These need to be seen as separate sites to people that haven't signed in.

Thanks again,

Ben
Oliver Bayer
RE: Multiple domains on a single instance.
27 septembre 2013 01:06
Réponse

Oliver Bayer

Rang: Liferay Master

Publications: 871

Date d'inscription: 18 février 2009

Publications Récentes

Hi Ben,

ok so maybe setting the virtual host in the control panel -> organizations -> manage pages -> settings tab should work.

Greets Oli
Ben Brown
RE: Multiple domains on a single instance.
8 octobre 2013 03:18
Réponse

Ben Brown

Rang: Junior Member

Publications: 74

Date d'inscription: 7 juillet 2010

Publications Récentes

Thanks for all the replies - used the Organisations Site URL and it's working a treat.

Ben