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

Solution Verified - Updated -

Issue

  • How to configure Virtual Server or Virtual Host in JBoss EAP 7, 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 EAP 7. For example - One would be app1.com , the other would be app2.com.
  • CLI command to configure Virtual Server or Virtual Host in JBoss EAP 7.

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.