<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>[Solved]Virtual Host doesnt work with RenderURL</title>
  <link rel="self" href="https://liferay.dev/ja/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=6895117" />
  <subtitle>[Solved]Virtual Host doesnt work with RenderURL</subtitle>
  <id>https://liferay.dev/ja/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=6895117</id>
  <updated>2026-05-14T02:40:11Z</updated>
  <dc:date>2026-05-14T02:40:11Z</dc:date>
  <entry>
    <title>RE: Virtual Host doesnt work with RenderURL</title>
    <link rel="alternate" href="https://liferay.dev/ja/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7045447" />
    <author>
      <name>Frank Yu</name>
    </author>
    <id>https://liferay.dev/ja/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7045447</id>
    <updated>2011-01-11T00:24:35Z</updated>
    <published>2011-01-11T00:24:35Z</published>
    <summary type="html">The settings of these properties in portal-ext.properties fix one redirect issue but create another one. Please see the details in http://issues.liferay.com/browse/LPS-14670.</summary>
    <dc:creator>Frank Yu</dc:creator>
    <dc:date>2011-01-11T00:24:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Virtual Host doesnt work with RenderURL</title>
    <link rel="alternate" href="https://liferay.dev/ja/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6895922" />
    <author>
      <name>Ravi Kumar Gupta</name>
    </author>
    <id>https://liferay.dev/ja/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6895922</id>
    <updated>2010-12-23T08:32:25Z</updated>
    <published>2010-12-23T08:32:25Z</published>
    <summary type="html">Solved &lt;img alt="emoticon" src="@theme_images_path@/emoticons/smile.gif" &gt;&lt;br /&gt;&lt;br /&gt;Just need to add &lt;br /&gt;&lt;br /&gt;web.server.http.port=80&lt;br /&gt;&lt;br /&gt;web.server.host=rkg.test&lt;br /&gt;&lt;br /&gt;Reference is Portal.properties&lt;br /&gt;##&lt;br /&gt;## Web Server&lt;br /&gt;##&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Set the HTTP and HTTPs ports when running the portal in a J2EE server that&lt;br /&gt;    # is sitting behind another web server like Apache. Set the values to -1 if&lt;br /&gt;    # the portal is not running behind another web server like Apache.&lt;br /&gt;    #&lt;br /&gt;    web.server.http.port=-1&lt;br /&gt;    web.server.https.port=-1&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Set the hostname that will be used when the portlet generates URLs.&lt;br /&gt;    # Leaving this blank will mean the host is derived from the servlet&lt;br /&gt;    # container.&lt;br /&gt;    #&lt;br /&gt;    web.server.host=&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Set the preferred protocol.&lt;br /&gt;    #&lt;br /&gt;    #web.server.protocol=https&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Set this to true to display the server name at the bottom of every page.&lt;br /&gt;    # This is useful when testing clustering configurations so that you can know&lt;br /&gt;    # which node you are accessing.&lt;br /&gt;    #&lt;br /&gt;    web.server.display.node=false&lt;br /&gt;&lt;br /&gt;&lt;img alt="emoticon" src="@theme_images_path@/emoticons/smile.gif" &gt;</summary>
    <dc:creator>Ravi Kumar Gupta</dc:creator>
    <dc:date>2010-12-23T08:32:25Z</dc:date>
  </entry>
  <entry>
    <title>[Solved]Virtual Host doesnt work with RenderURL</title>
    <link rel="alternate" href="https://liferay.dev/ja/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6895116" />
    <author>
      <name>Ravi Kumar Gupta</name>
    </author>
    <id>https://liferay.dev/ja/c/message_boards/find_message?p_l_id=119785294&amp;messageId=6895116</id>
    <updated>2010-12-23T06:48:48Z</updated>
    <published>2010-12-23T06:48:48Z</published>
    <summary type="html">Hello Friends,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have done a setup of Liferay on my system. Trying to use Apache web server with firewall. Everything works fine but in portlets when I am using renderURL it shows internal liferay url for the links. &lt;br /&gt;Suppose I have apache on rkg.test and Liferay on liferay.rkg.test:8080. So when I use renderURL in portlets it shows me liferay.rkg.test:8080 in place of rkg.test. I have set virtual host in the settings as rkg.test but its not working. Though for some links I am getting it right if I am using simple links in place of renderURL. &lt;br /&gt;&lt;br /&gt;Please help. &lt;br /&gt;thanks in advance.&lt;br /&gt;&lt;br /&gt;Ravi KGupta</summary>
    <dc:creator>Ravi Kumar Gupta</dc:creator>
    <dc:date>2010-12-23T06:48:48Z</dc:date>
  </entry>
</feed>
