This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Here is a web app called /myweb which can run on the server, I want do some configuration so that fxbird.com can mapped to the web app. Port can't be set in C:\WINDOWS\system32\drivers\etc\hosts, but IP.
I do as you said.
1)add map to C:\WINDOWS\system32\drivers\etc\hosts from 127.0.0.1 to fxbird.com, at the moment, http://fxbird.com:8080 can be accessed.
2) configure the server.xml, add relevant host stuff, add my web app called 'myweb' , but 404 error is thrown. www directory is in tomcat root directory , myweb stuffs is in www. It just doesn't work when the appBase is set to either www or www/myweb.
More neededly , I wanna port 8080 or any other port isn't around in the url, is there a way to do?
Thanks a lot.