The Application server must be mapped to the web server,since the web server must know for which URL the connection must be forwarded to application server.To Map web server with application server