RE: Multiple Site Virtual host redirect configuration

Yannik Horndt, modified 6 Years ago. New Member Posts: 9 Join Date: 1/31/19 Recent Posts
Hi,
We have a problem where I have multiple sites on 1 Liferay (6.2 ee, soon to be migrated to 7.2) instance.
We've configured the virtual hosts on some of them and this works fine.
Our situation: test <-Virtual Host configured test.com
test1 <-Virtual Host configured test1.com
test2 <- No virtual host configured, but reachable trough test.com/web/test2/ and test1.com/web/test2
test3 <- No virtual host configured, but reachable trough test.com/web/test3/ and test1.com/web/test3
However, we want test2 and test3 to be reachable through test.com and not test1.com.
Where do we configure this? Is this configurable in Liferay or in the DNS/Loadbalancer settings?
Greetings and thank you,
Yannik
thumbnail
Olaf Kock, modified 6 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Yannik Horndt:

However, we want test2 and test3 to be reachable through test.com and not test1.com.
Where do we configure this? Is this configurable in Liferay or in the DNS/Loadbalancer settings?
I'd solve this through a reverse proxy, which might be the same as the Loadbalancer you mention
Yannik Horndt, modified 6 Years ago. New Member Posts: 9 Join Date: 1/31/19 Recent Posts
Thanks Olaf, I've forwarded your answer.
Hope to see you at Devcon, so I can thank you in person!
thumbnail
Olaf Kock, modified 6 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Yannik Horndt:

Thanks Olaf, I've forwarded your answer.
Hope to see you at Devcon, so I can thank you in person!
Looking forward to seeing you. I'll be hard to miss - don't hesitate to stop me when our paths cross - I might seem busy, but the whole point of Devcon is to talk emoticon