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

Seif5's avatar

Laravel Host VPS

Hello, this the first time I will upload my laravel projects to VPS server So I bought VPS server and I succes to connect on my server using SSH keys with PuTTy(. I installed compser on my host and then laravel project , So here I do not understand how can i manage my laravel files , I mean how can i add something and clone it their Please anyone help me , I am confused here

there is anything to configure it or connect it to the server let me clone my project #Hostgator , #VHM , #Cpanel

Thanks

0 likes
5 replies
jusahah87's avatar

I recommend Laravel Forge. Takes the pain out of this process.

Back in the old days I used to do it this way:

  1. compress Laravel project root folder on local machine
  2. send it to the server using Linux scp-command
  3. delete old Laravel folder on the server
  4. extract the zipped package on the server

If you have used environment files correctly and don't need to run database migrations, this should be enough.

christopher's avatar

Seriously ... if you have zero knowledge about Linux & Server Stuff let it be .. Search for a Hosting Company which provides some laravel hosting or any other hosting company.

Your Server will be hacked in no time or you will get a continuous DDoS attack or what ever ..

muragijimana's avatar

Once you have access to your server via ssh you can use service like github to clone your app to that server simple as that or you can use FTP for that too! Let me know if I can help you with possible command you may run too!

Please or to participate in this conversation.