Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

easterneas's avatar

Laravel x Nginx x Webuzo

Hi there,

I have a VPS which comes with Webuzo (cPanel-alternative control panel) installed, and I've modified it a bit using its panel to get Nginx working.

Now the problem is, this is the first time I use Laravel, and I want to deploy Laravel into this kind of setup in my VPS, but after trying some options including putting some code like this:

location / {
...
        try_files $uri $uri/ /index.php?$query_string;
...
}

(Another note: editing that within the WebuzoVPS.conf file will result the configuration being reset by Webuzo when I add/remove other domains)

The site isn't just not working, but also makes other hosted sites in my VPS don't work at all with the error text just like this:

File not found

Is there any way to implement Laravel so that it work alongside other sites in my VPS using this Webuzo+Nginx configuration? Or do I have to set it up from scratch?

Thanks in advance! :)

0 likes
2 replies
Thyrosis's avatar
Thyrosis
Best Answer
Level 17

I don't have any experience with Webuzo, but quite a bit with DirectAdmin (another control panel). Editing something directly on the server is never a good idea, the control panel will in fact rewrite its configurations from its own stock on every change.

Regarding Nginx, Webuzo should take care of that for you and you won't need to edit anything to get multiple sites working. If it doesn't, something in their implementation of Nginx seems to be off. Because then it's not just Laravel, but all sites.

1 like
easterneas's avatar

Thanks for the answer, Thyrosis :)

Well, after some time searching for how to install Laravel (and then replacing it with my updated one), I think I need the paid license of Webuzo to make Laravel available as an option for installation within Webuzo CP.

Anyways, DirectAdmin looks promising, though the price is holding me back as with that monthly price ($23/mo), I could get yearly license of Webuzo for $2 more ($25/year) :\

Thanks!

Please or to participate in this conversation.