Change document root in DirectAdmin
For those of you developing Laravel application, sure you have face this issue if you’re hosted in DirectAdmin hosting.
Besides, if you want to setup auto deployment like Rocketeer, also you will need to change the document root.
Let’s take an example in my scenario, Laravel + Rocketeer auto deployment
As I mention just now, using Rocketeer in this case, thus it will point to current directory (softlink), and public is because of laravel project.
Login with root user, then restart
Now it should works.