I built a laravel project and I normally use localhost with the command \"php artisan serve\" to test my project
But now, I want to host on server. I successfully connec
Simply drag and drop the root folder to your server's root. Not to the public_html directory. The only thing that should be in the public_html directory is Laravel's "public" directory (thus you have to rename it, depending on your server's settings).
Do not put your configuration files inside the public_html folder or anyone will be able to access them and steal your data.