I was playing with my pi server and changing settings. When I tried to upload a file via filezilla I realized that its giving an error (553 Could not create file.). I can upload and create files in home/pi folder but I can't do anything in www folder.
Problem Solved
sudo chown -R pi:pi /var/www/
This command worked for me.