0 Replies Latest reply on Jan 30, 2006 2:17 PM by NirdeshM@GMail.com

    Virtual Host Setup & Docroot

    NirdeshM@GMail.com Newbie

      Hi Guys,

      Any help will be really appreciated.

      I am trying to setup 3 virtual host in my jboss-4.0.3SP1. I can see all the virtual host but all the time I am going to JBoss default home page. I don't know where to setup the docroot for these three virtual hosts.

      Here is Server.XML file.
      (Please ignore Underscore {_}, I just have this to show you exactlt my file)
      <Host name="virtualhost1" autoDeploy="false" deployOnStartup="false"
      deployXML="false">
      <_Alias>abc.com</_Alias>
      <_DefaultContext cookies="true" crossContext="true" override="true"/>
      <_/Host>
      <Host name="virtualhost2" autoDeploy="false" deployOnStartup="false"
      deployXML="false">
      <_Alias>xyz.com</_Alias>

      <_/Host>
      <Host name="virtualhost3" autoDeploy="false" deployOnStartup="false"
      deployXML="false">
      wonder.com
      <_DefaultContext cookies="true" crossContext="true" override="true"/>
      <_/Host>

      Regards,
      Nirdesh