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

Ap3twe's avatar

Laravel On VPS Server

Does anyone have experience deploying laravel app on VPS Server? We have our own sets of VPS Servers and I think it will serve us right to deploy our app there. I think going on AWS or forge is an extra kill. What do you think? Is the operation straightforward like shared hosting?

0 likes
6 replies
GeordieJackson's avatar

I have a VPS that I use for my personal Laravel projects - Ubuntu server with Plesk panel (includes Git, Composer support, etc.)

Deploying, using Git, is a breeze. Likewise, updating via Composer is simply point and click.

I don't use them for personal projects, but setting up a dev server and staging server would be equally as simple and convenient.

So, I'd say give it a go on a VPS and only move to something more sophisticated if you need to.

Ap3twe's avatar

@geordiejackson Nice. Will give it a try. Do you know how to setup git credentials in the plesk panel. I cant see it. It just ask for the https link and it rejects it because of credentials

GeordieJackson's avatar
Level 18

It may depend on your Plesk panel version.

On mine, I just select the domain I'm using and under "Dev Tools" there's a Git option (should show enabled or disabled). Obviously you need to enable it, set up the auth key for GitHub etc. and pull your repo into the correct folder.

When you go through the set up, the instructions are there for you.

Ap3twe's avatar

Nice, do the files need to be moved out of the httpdocs to another folder after deployment. Do you also symlink the public folder outside the httpdocs?

GeordieJackson's avatar

You can choose any folder you like to upload the repo to (it doesn't have to go into httpdocs first) - then just point to the public folder when setting your document_root in your hosting settings.

Ap3twe's avatar

Wow Flawless. thanks It works like charm

Please or to participate in this conversation.