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

pavelas's avatar

How to Manage VPS and Deploy Laravel Applications?

Good Day,

I used shared hosting for a long time and lately I feel a lack of freedom. So, I decided to deploy my Laravel & Non-Laravel applications on my own VPS. But it turns out it's not that easy and there are no detailed guides or courses on how to do this.

  1. Where to start? Operating system? LEMP vs LAMP? Proper configuration? Security? Updates? DDOS? Backups? Performance? Uptime?

  2. Databases? MySQL vs PostgreSQL? Configuration? Which version?

  3. Laravel deployment? Best practices? Domains / subdomains? SSL configuration? Cache systems?

  4. How to deploy a few applications on the same VPS? Different domain names? GUI Control panel? Monitoring?

  5. Sending & Receiving e-mails? Avoid blacklisting? Create forwarders / e-mail accounts?

I do not ask to answer all the questions, but if you know some good courses or guides, it would be nice if you could share and maybe together we will be able to collect all the information.

Also please do not share 3rd party services, such us Mailgun, Laravel Forge, etc... This is not a solution.

Thank you in advance!

0 likes
1 reply
esorone's avatar

Hello Pavelas,

A couple of weeks there was a sort of the same question. This could give you an head start .

https://laracasts.com/discuss/channels/laravel/launching-laravel-on-a-vps

There are Some links to tutorials as well.

Some Answers: you can have multiple domains on a VPS, just create vhosts. It is possible to set up a mail server for sending and receiving emails. Laravel has some requirement for database and php. So if you choose for a lamp package, you need to takes this into consideration as well.

Regarding OS, if you ask 10 people, you will get 9 good, but different answers. I will go for Ubuntu.. (is one of the tutorials as well.)

Good luck.

1 like

Please or to participate in this conversation.