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

4ndro1d's avatar

Deploy Laravel application on virtual server

I developed a web application with Laravel 5.3 running with vagrant/homestead. Now everything is working fine on my local test server I am about to deploy it on the virtual server. We have a Linux Ubuntu 16.04 server (which is the same version as the local test server), but there is nothing installed at the moment.

Now I wonder what the proper way to do this is. Do I just clone the git repo on my test server and install a vagrant VM again? How can I run it on the server directly?

I appreciate any tips.

0 likes
9 replies
4ndro1d's avatar

Our provider is hosteurope and a requirement was that the location is within Germany. Does it still work?

Lars-Janssen's avatar

Sure make sure you have Ubuntu 16.04 x64 installed and forge does the rest!

4ndro1d's avatar

Hmm the Ubuntu version is right but I'm not sure I have 64bit. I gave Forge a try and now I can't ssh to my server with command line anymore.

Also I cannot connect Forge to my gitlab repository. But if it works it looks like a really great tool (in the web interface I can create databases and users tho)

4ndro1d's avatar

I can't deploy because ssh access is not working anymore. Guess I have to reinstall the server first T_T. When going through the steps of installation I just had to execute one command. Nothing stated about adding ssh keys manually

4ndro1d's avatar

Okay I will, thanks :) I think I finally understood their business model :D Good luck our server has just the right requirements

1 like

Please or to participate in this conversation.