By default, Laravel uses the public
folder as the root folder (DocumentRoot), and not public_html
as our servers do.
To fix this, you can either change the Laravel configuration to use the public_html
folder instead of public
, or you can create a symlink from public
to public_html
.
You can create a symlink with the command ln -s public public public_html
through SSH.
Article from the support category: PHP