How to redirect to public folder on laravel
rename /server.php to index.php
For htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.example.com$
RewriteCond %{REQUEST_URI} !project/public/
RewriteRule (.*) /project/public/$1 [L]
Put it into your public_html/ or www/ folder where is the root of example.com/