1 Reply Latest reply on Jul 1, 2008 4:42 AM by mirco123

    Virtual Host : How to route all subdomains

    mirco123

      Hello,

      configuring virtual hosts is easy and works fine.

      in server.xml

      <Host name="mydot">
       <Alias>www.mydot.com</Alias>
      </Host>


      and in jbos-web.xml :
      <jboss-web>
       <context-root>/</context-root>
       <virtual-host>mydot</virtual-host>
      </jboss-web>


      Now I need the 'Alias' working for all subdomains of this domain to let my users create a good-looking home URL based on their nicks.

      So I need something like:

      *.mydot.com

      Does Alias know any wildchars? How can this be done?

      Thanx, mirco