Monday, April 23, 2012

JBoss 7 Virtual Host getting page not found

I am trying to bind an alias to run my app instead of the ip address on the server. So I want to access my app on instead of I added a jboss-web.xml in my project under WEB-INF


and i edited the virtual host tag in my standalone.xml

<subsystem xmlns="urn:jboss:domain:web:1.1" native="false" default-virtual-server="default-host">     
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<connector name="https" protocol="HTTP/1.1" scheme="https" socket- binding="https" enable-lookups="false" secure="true">
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name=""/>
<virtual-server name="" default-web-module="helloworld">
<alias name=""/>

When I go to it says not found.

I appreciate it.

No comments:

Post a Comment