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

AbdallahSabri's avatar

How to deploy a laravel application?

I have a sever with windows server 2012, what is the best web server to host laravel application?

My application works fine in development mode.

Can you please describe it step by step.

0 likes
9 replies
martinbean's avatar

@AbdallahSabri There will be hundreds of tutorials on how to deploy a Laravel application to practically any hosting provider.

AbdallahSabri's avatar

I will host it in my own server, not with any hosting providers.

I googled a lot but almost all of them use Linux OS, I had some problem in windows server, so I need someone how describe the process on windows platform.

martinbean's avatar

I will host it in my own server

@AbdallahSabri If you need step-by-step instructions on how to deploy a Laravel application, then you should not be running a web server in my opinion.

I hope this isn’t for a client, as you could land yourself in hot water by hosting their site without the technical know-how if you are.

1 like
jlrdw's avatar

Ask yourself Will it be a large site, or medium to small site. If a smaller site, you could start out with a good shared hosting plan.

If a larger size, I'd look into a dedicated host. With the cost now-a-days being so reasonable on hosting, I'd never consider attempting self hosting.

I'd go with Linux hosting for a php mysql setup.

A tip, setup laravel in development to mirror a production site, meaning:

  • Main laravel goes above htdocs / www

Here is a good guide to install laravel correctly:

http://novate.co.uk/deploy-laravel-5-on-shared-hosting-from-heart-internet/

Recently a forum member had trouble setting up laravel on shared host, to prove a point I set up laravel 5.4 in no time, just a little time for the ftp upload.

But there are many youtube series on laravel and linux setup.

AbdallahSabri's avatar

@martinbean I'm employee in ministry, we have a virtual servers running windows server 2012. we don't host our apps outside the ministry.

Please or to participate in this conversation.