How to configure Virtual Host / Virtual Server in JBoss EAP 6

Solution Verified - Updated -

Issue

  • How to configure Virtual-Server (virtual-host) in JBoss EAP6, So that the application should be accessed only by the "app1.com" host name and not with any other host name?
  • How to host two separate web applications from specific hostnames running on JBoss EAP6. For example - One would be "app1.com" , the other would be "app2.com".
  • CLI command to configure Virtual-Server (virtual-host) in JBoss EAP 6.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content