Easy way to change apache www location
Well i could close the question but just found the answer here: https://help.ubuntu.com/community/ApacheMySQLPHP (The community help has gotten better)
Anyway the faster way was to edit the file of apache from /etc/apache2/sites-available/
in my case it was 000-default
. Change all the /var/www
entries (in my case 2) to the directory you want www
to be in. This is the way without the virtual Hosts which is also mention in that link.