You need to setup correctly, here are two guide:
https://laravel-news.com/subfolder-install (laravel news)
http://novate.co.uk/deploy-laravel-5-on-shared-hosting-from-heart-internet/
That should point you in the correct direction.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello All,
I have a query regarding laravel website hosting.
when i download the laravel using composer and run php artisan serve command my website start working with given URL without any changes.
But when i upload same folder on live website it is not working without /public
For Eg,
On Localhost : http://127.0.0.1:8000/login
On Live : http://domain.com/public/login
In both case my folder is same.
How can we solve this problem. Is there any way to make laravel website working on live without changing it's folder structure ?
Please or to participate in this conversation.