Group Discounts available for 3+ students and Corporate Clients

Virtual Hosting with Tomcat – JBoss

Virtual Hosting with Tomcat – JBoss

Add hosts and aliases to server.xml:

  • <Host name=””>
  • <Alias></Alias>


Register applications for virtual hosts in their WEB-INF/jboss-web.xml files:

  • <jboss-web>
  • <context-root>/myapp</context-root>
  • <virtual-host></virtual-host>


Applications default to host specified by <Engine>’s defaultHost attribute

Learn the core features of JBOSS Traning and become master with our expertise tutorials.




<Connector …/>


<Host name=””>



<Host name=””/>














For indepth understanding on JBoss click on:

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at, we will update the article in 24 hours.”

0 Responses on Virtual Hosting with Tomcat - JBoss"

Leave a Message

Your email address will not be published. Required fields are marked *


Please Enter Your Details and Query.
Three + 6