The "It works!" message means that the apache server is working correctly...
The "It works!" page is store in a html page, and it is not necessary that it must be in the www(root of the webserver), there is one module on the apache call
mod_alias which allows a specific file/folder to be appear like they are in the server root..
One good example of
mod_alias module, is in the installation of XAMPP, XAMPP comes with phpmyadmin, and it is not in the server root, but you can access it by
http://localhost/phpmyadmin
I would suggest that you place a file into your www and test it first...