Search Results Pagination: how to replace localhost with the final domain?Search Results Pagination: how to replace localhost with the final domain?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1205409972024-03-28T08:13:33Z2024-03-28T08:13:33ZRE: Search Results Pagination: how to replace localhost with the final domaPietro Paganihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1205468082021-01-11T17:05:26Z2021-01-11T16:42:36Z<p>Hi, </p>
<p>finally I fixed the issue which was not related with Liferay but with
some configuration on FE Web Server.</p>
<p>In case other encounter the same problem...I have enabled
"ProxyPreserveHost" within my Apache instance and now the
pagination links are not pointing anymore to localhost.</p>
<p> </p>
<p>Regards,</p>
<p>Pietro</p>Pietro Pagani2021-01-11T16:42:36ZSearch Results Pagination: how to replace localhost with the final domain?Pietro Paganihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1205409962021-01-07T17:18:38Z2021-01-07T11:13:27Z<p>Hi,</p>
<p>I have created a Search Results page and configured it in order to
paginate the results according to the official documentation https://help.liferay.com/hc/en-us/articles/360017894572-Display-Settings</p>
<p>The problem is that when I click on the pagination links (to move
back and forward) or I try to change the number of results to be shown
in each page, the link is pointing to localhost and not to the
right portal domain.</p>
<p>I don't know if this could be useful but I have a web server in front
of my portal and I have properly configured the following parameters:</p>
<ul>
<li>web.server.host</li>
<li>web.server.http.port</li>
<li>web.server.https.port</li>
<li>web.server.protocol</li></ul>
<p>Is there any configuration I'm missing?</p>
&