Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
//localhost/web/guest/home to //locahost/
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
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
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
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
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
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
Community
Company
Feedback