lundi 26 décembre 2016

How can I publish laravel on shared web hosting without changing the directory setup?

I am trying to deploy a new Laravel project on a shared hosting. I also would like to keep my Laravel project apps setup the same as if it was on my local machine "standard Laravel setup".

I used FileZilla to transfer all the files from my local machine to the web hosting.

so /public_html contains all of my laravel file and folders.

However, when I go to mydomain.com I get the provider's default page. Ans when I go to mydomain.com/public I get a white page with no errors.

Why do I get a white page when visiting mydomain.com/public?

Also, how can I make mydomain.com point to laravel's public directory?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire