Trying to upload Previously made Larav4 website on Nginx Digital Ocean Ubuntu 14.04 returning 404 page not found

January 15, 2016 843 views

I am migrating my Laravel4 based app to Digital Ocean .

So I created a folder in


and pasted my app code in the folder so now when I do it changes my url to

but with a 404 error

Any Idea whats the problem

Before I had problem of permission denied to write in the error log file which I fixed by run

sudo chmod -R 777 /var/www/

But after that I am just getting Page not found 404 error any Idea where i might have gone wrong.

Also my NginX is running fine even after restarting

Be the first one to answer this question.