please check the LS_HOME/pages/demos/HOW_TO_DEPLOY_ON_YOUR_WEB_SERVER.TXT file that explains how to configure a web application to run from an external web server

HTH