Laravel | Shared hosting routes not working properly

后端 未结 5 961
北海茫月
北海茫月 2020-12-04 03:16

I am trying to deploy my Laravel project on a shared host(godaddy) and so far I have only partially succeeded.

Steps I followed:

  • Creat
5条回答
  •  猫巷女王i
    2020-12-04 03:41

    The problem is that you have placed the entire project in the public directory - public_html, haven't you? This is a bad practice (security).

    Your domain (abc.xyz.com) points to your application root directory, should go to the app/public dir.

提交回复
热议问题