I have uploaded Laravel on my DirectAdmin hosting and in a sub folder.
When I'm going to mysite.com/demosite its not working and showing 404 Not Found but when I goto mysite.com/demosite/public then its working.
On my local it works fine, but on server its not working as local.
@kikloo Also read the deployment chapter in the documentation. You probably have your .env exposed if laravel isn't setup correctly, meaning the proper folder structure.
Just FYI, setting up correctly on shared hosting has been discussed many times here on this forum.
I’m sorry but I’m still not able to fix the issue. Despite reading a lot of posts and other stuff I’m not able to make public folder as document root. No matter what I put in htaccess file I still get 404 - NOT FOUND by laravel.
This is now becoming a big blocker. How to go about it ? Why it’s like that ?