Forums de discussion

Multiple domains on a single instance.

thumbnail
Ben Brown, modifié il y a 10 années.

Multiple domains on a single instance.

Junior Member Publications: 79 Date d'inscription: 07/07/10 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, modifié il y a 10 années.

RE: Multiple domains on a single instance.

Liferay Master Publications: 894 Date d'inscription: 18/02/09 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
thumbnail
Ben Brown, modifié il y a 10 années.

RE: Multiple domains on a single instance.

Junior Member Publications: 79 Date d'inscription: 07/07/10 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, modifié il y a 10 années.

RE: Multiple domains on a single instance. (Réponse)

Liferay Master Publications: 894 Date d'inscription: 18/02/09 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
thumbnail
Ben Brown, modifié il y a 10 années.

RE: Multiple domains on a single instance.

Junior Member Publications: 79 Date d'inscription: 07/07/10 Publications récentes
Thanks for all the replies - used the Organisations Site URL and it's working a treat.

Ben
thumbnail
vaseem bari, modifié il y a 10 années.

RE: Multiple domains on a single instance. (Réponse)

Junior Member Publications: 86 Date d'inscription: 26/03/08 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