Legacy Knowledge Base
Published Jul. 2, 2025

Configuring instances for remote live staging

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Configuring servers for remote live staging with localhost for testing purposes.

Environment

  • Liferay 7.3 GA1

Resolution

  • Here are the detailed steps:
    • Update the TunnelAuthVerfierConfiguration of both Liferay Portal instances 
      •  Navigate to the Control Panel → System Settings →API Authentication→Tunnel Authentication
      • Click '/api/liferay/do' and insert the additional IP addresses (can be replaced by localhost)
        (staging instance should have IP of the remote server and vice-versa) 
      • Click Update.
    • Place the following configuration in the portal-ext.properties file of both the instances:
      • tunneling.servlet.shared.secret=F0E1D2C3B4A5968778695A4B3C2D1E0F
        tunneling.servlet.shared.secret.hex=true
    • Add the following line to the remote Liferay server’s portal-ext. properties file:
      • tunnel.servlet.hosts.allowed=127.0.0.1,SERVER_IP,[STAGING_IP]
        Note: [STAGING_IP] can be replaced by localhost
    • Restart both servers.
    • Now setup Remote staging by filling the values for below : 
      Remote Host/IP
      Remote Port
      Remote Site ID
      • Note: These settings need to be done only on the Staging server

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base