I followed the steps given in OrionSupport.com to set up virtual hosts but I 
am still not able to run it successfully.
On typing www.example1.com it refuses to look into my server, instead it 
tries to go to internet

Here are the following changes I made
1. Created the application as mentioned under the application directory 
(create the necessary dir structure, index.html and web.xml)
2. Created example1-web-site.xml and example1-web-site.xml and cutnpaste the 
stuff given in the document

<web-site host="localhost" port="80" display-name="Example 1" 
virtual-hosts="www.example1.com">

        <!-- The default web-app for this site, bound to the root -->
        <default-web-app application="default" name="example1" />

        <access-log path="../log/example1-web-access.log" />

</web-site>

3. Added the foll to application.xml

      <web-module id="example1" path="../applications/example1" />
      <web-module id="example2" path="../applications/example2" />
4. Added the foll to server.xml

      <web-site path="./example1-web-site.xml" />
      <web-site path="./example2-web-site.xml" />

Have I missed out something
On typing www.example1.com I get (There was no response. The server could be 
down or not responding)

Thanks
GT
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Reply via email to