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

rgiaviti's avatar

Best apache configuration for multiple Laravel apps

Hi guys!

I am finishing an Laravel app and getting ready to deploy my application in a Apache 2.4 server. I have some questions regarding configuring apache. Maybe you can help me.

How can I setup an apache 2.4 for production enviroment and keep it safe? Knowing that apache will receive several laravel applications. Do I need one vHost for every app?

Other question is about alias for the applications. All my applications will be under one domain. For example:

What is the best way to configure this in apache? Remember, all apps are Laravel.

0 likes
0 replies

Please or to participate in this conversation.