404 not found amazon

On localhost url localhost/admin/default/index works perfectly. After then I have uploaded my project on AWS and when I log in admin panel 404 error appears.

Check your logs and probably fix server config

Try the path without pretty URLs and hide script name.