[jboss-dev-forums] [JBoss Web Development] - Virtual hosts?

daver690 do-not-reply at jboss.com
Wed Feb 29 15:59:23 EST 2012


daver690 [https://community.jboss.org/people/daver690] created the discussion

"Virtual hosts?"

To view the discussion, visit: https://community.jboss.org/message/720704#720704

--------------------------------------------------------------
I have to ask because I can't get this straight in my head  :) 

In the file jboss-web.xml, the value you enter in the <virtual-host> tags is it suppose to be some sort of temporary hosts-file that's created? Because I'm having a hard time getting when you use it. I've Googled and some accounts say you need to make some changes in the jboss-web.xml-file +and+ the hosts-file, which really doesn't make any sense to me. When I develop if I want to simulate a registered domain I just make the changes in the hosts-file however when I go live I set up the DNS for real. 

I also haven't gotten it to work, any value I put in the <virtual-host> tags just result in some weird parse.errors, but I figure if I can get this one thing straight I can get a better idea what to do there.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/720704#720704]

Start a new discussion in JBoss Web Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120229/e25407a3/attachment.html 


More information about the jboss-dev-forums mailing list