Multiple sites in a portal instanceMultiple sites in a portal instancehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=570338632024-03-28T10:43:21Z2024-03-28T10:43:21ZRE: Multiple sites in a portal instanceavasek atokhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=570520682015-08-04T03:35:18Z2015-08-04T03:35:18ZThanks Kock for quick turn. I understand /web/siteName is omitted, but want to know if through by any config change we can restore the URL with /web. <br />Does liferay supports it through by any config change?<br /><br />Thanks,avasek atok2015-08-04T03:35:18ZRE: Multiple sites in a portal instanceOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=570442542015-08-03T21:34:18Z2015-08-03T21:34:18ZNo hurry if there's no answer within 3 hours. This is all voluntary work we're doing here.<br /><br />What you experience is exactly what happens when you provide a virtual host name for a site: The virtual host name uniquely identifies that you're dealing with a specific site. It even defines if you're on the public or private pages of that site. Thus, there's no need to provide <span style="font-family: Courier New">/web/sitename</span> any more and it's being omitted. <br /><br />If you don't set your sitename (and probably even when you do) you can also access your content under <span style="font-family: Courier New">www.company.com/web/siteName2/friendlyURL</span> - there you need the <span style="font-family: Courier New">/web/siteName2</span> part. When you already are coming in through the virtual host, it's not required any more.Olaf Kock2015-08-03T21:34:18ZRE: Multiple sites in a portal instanceavasek atokhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=570381212015-08-03T17:46:27Z2015-08-03T17:46:27ZAny suggestions please ....avasek atok2015-08-03T17:46:27ZMultiple sites in a portal instanceavasek atokhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=570338622015-08-03T14:50:53Z2015-08-03T14:50:53ZHi - I have created a portal instance and mapped it to a virtual host(www.company.com). I created a site in the instance and I am happy as I was able to access the site with the virtual host domain.<br />I created a site there and i was able to access the public pages of the site as www.company.com/web/sitename/friendlyURL<br /><br />However now i created another site in the same instance which I mapped to a new virtual host as www.company2.com. Created a public page there and observed the url generated to access the public page is www.company2.com/friendlyURL. I no more see web is appended to the URL.<br />What I was expecting : www.company2.com/web/siteName2/friendlyURL<