//localhost/web/guest/home to //locahost/

2635541, modified 17 Years ago. New Member Posts: 16 Join Date: 3/26/09 Recent Posts
Hi guys,

How I can change the //localhost:8080/web/guest/home to //localhost:8080? I checked in liferay directory(where i installed liferay) if i have the portal-ext.properties but, i dont have that file. Do i need to create one and save that file in which path?

Thanks
thumbnail
11255, modified 17 Years ago. Liferay Master Posts: 581 Join Date: 6/21/06 Recent Posts
you may want to consider using the virtual host feature in liferay. this requires a mod to the host file.

for example:
in liferay's control panel, go to the guest community => settings => virtual hosts, in the public URL section, put www.test.com or something like that.
after saving, update your hosts file to reflect that (may www.test.com to localhost or 127.0.0.1)

once that's done and your hosts file is in effect, you should be able to just go to www.test.com:8080 and get www.test.com:8080/home instead.

if you really want to get rid of the /home, you may need to use Apache
thumbnail
4000747, modified 15 Years ago. Junior Member Posts: 33 Join Date: 9/10/09 Recent Posts
I have two instances of Liferay running on the same server, each using a different port (8080 and 8090).
I tried mapping the two site urls to the ip address of the server in the host file. However, only the one using port 8080 works. I have to map the other url to localhost.

Any ideas?

Thanks,

Tom