how to remove web from url in liferay

Jamie Sammons, modified 3 Years ago. New Member Posts: 4 Join Date: 6/18/22 Recent Posts

Hello

I have created a parent site and another guest site for this. The guest site url is http://localhost:8080/web/amf.com

I would like to remove /web from that so that it can be viewed as http://localhost:8080/amf.com. I', new to liferay and I couldn't be able to change it. Please anyone help me in this

 

thumbnail
Jamie Sammons, modified 3 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

/web/sitename and /group/sitename are Liferay's way of addressing the public and private pages of a site. They're then followed by the page name. If you assign a specific virtual host name to your site (must be unique), then the host name takes the task of resolving the responsible site and /web/sitename can be omitted from the URL, leaving just the page's name (e.g. http://example.com/pagename)

 

Jamie Sammons, modified 3 Years ago. New Member Posts: 4 Join Date: 6/18/22 Recent Posts

Thank you Olaf. I'll try this