Laravel 8 404 Error

It looks like you tried to make Laravel work by copying the contents of the public folder to the main directory.

This could work, but you also need to copy the .htaccess file if you do.

But I would recommend to just leave the public folder as-is and use this .htaccess rule instead: