Fórumok

Multiple instances access from unix box

thumbnail
Anil T, módosítva 8 év-val korábban

Multiple instances access from unix box

Expert Bejegyzések: 313 Csatlakozás dátuma: 2012.01.14. Legújabb bejegyzések
Hi Team,

We have created two instances in liferay. Those are instaceA and instaceB. Now we want to access both instances from unix box to our local browsers. So what settings are required? If anyone has already done please provide those steps here. We had created in local setup and added those names in host file and access with the instance names. We need same thing from unix boxes.

Thanks,
Anil T
thumbnail
Anil T, módosítva 8 év-val korábban

RE: Multiple instances access from unix box

Expert Bejegyzések: 313 Csatlakozás dátuma: 2012.01.14. Legújabb bejegyzések
Any suggestions?
thumbnail
Olaf Kock, módosítva 8 év-val korábban

RE: Multiple instances access from unix box

Liferay Legend Bejegyzések: 6403 Csatlakozás dátuma: 2008.09.23. Legújabb bejegyzések
You reach instances by the hostname you provide. Thus, if they don't have "official" DNS names, you'll have to set them up on any computer that accesses them through a browser (edit /etc/hosts on unix-boxes, give the IP-address and the host name that you've used for the instances)
thumbnail
Anil T, módosítva 8 év-val korábban

RE: Multiple instances access from unix box

Expert Bejegyzések: 313 Csatlakozás dátuma: 2012.01.14. Legújabb bejegyzések
So i can access instances with my local machine ip address which will be configured in the unix box. I'll check this.
thumbnail
Anil T, módosítva 8 év-val korábban

RE: Multiple instances access from unix box

Expert Bejegyzések: 313 Csatlakozás dátuma: 2012.01.14. Legújabb bejegyzések
Hi Olaf,

We are still facing issue to configure two instances on unix box. If you have any examples can you share with this thread. It would help us to understand how to configure.

if anyone configured multiple instances please share details.

Thanks,
Anil T
thumbnail
Olaf Kock, módosítva 8 év-val korábban

RE: Multiple instances access from unix box

Liferay Legend Bejegyzések: 6403 Csatlakozás dátuma: 2008.09.23. Legújabb bejegyzések
once the browser on any computer can connect to any of the virtual host names on your portal, your instances will work as intended: You might also try
ping domain1.example.com
ping domain2.example.com

from the browser computer. When this resolves correctly to the ip address of your portal server, the browser from the same computer should be able to connect to your portal, under all the different names that you used.

Of course you'll have to replace the sample domain names with the ones that you use. The rest is a problem of DNS, not of Liferay.