I know this question has been asked over and over but I can't get my head around it. Why isn't the project showing on the root domain, but do I have to always enter /public
to it?
I've tried the command mentioned in this post (and also the tip in the comment). But that didn't work. And if I recall correctly forwarding all incoming requests to /public/index.php?$1
is a potential security vulnerability because .env file can be shown exposing passwords and API keys.
I'm on a shared hosting environment using Laravel 5.2. How can I set this up?