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

cekibut's avatar

Shared host with apache or nginx

Hi there, I know that it's direct related with laravel but it will be. I have a dedicated server and I want to configure apache or nginx to work as shared hosting where each user will have its own environment without affect others users. I don't want to use a control panel, I want to make it manually, mostly for sake of learning. Thanks in advance.

0 likes
5 replies
bashy's avatar

You will need to do some sort of jail for each user. PHP settings and pools could also be set per account.

cekibut's avatar

@bashy - Can you provide a tutorial or something like that? I tried to search on the entire web but I haven't found anything that helped me.

bashy's avatar

Well for starters, we'd need to know your server's OS.

Please or to participate in this conversation.