Virtual Hosting

This article describes how to setup virtual hosting.

1 Step-by-step Guide

    Go through the following steps to set up virtual hosting

    1.1 Step 1: Add the site

      In the server.xml file, there's a web-site node, which has a default path of ./default-web-site.xml. To add a new site, you would add a new node of this type, pointing to the new XML file. Add one node per site you want Orion to serve

    1.2 Step 2: Add a virtual-hosts attribute

      In each web-site file (the ./default-web-site.xml file is an example), in the web-site node, add a virtual-hosts attribute, where each hostname is separated by a comma. These will be the domains that the specific website will serve.

      The web-site.xml description is available here.

Copyright © 2005 IronFlare AB