R
R
RedCap522016-10-24 20:06:16
Debian
RedCap52, 2016-10-24 20:06:16

How to isolate websites on VPS?

Hello! I have a VPS with Debian Jessie 8.5 and 1 GB of RAM.
There are 3 sites. How can I isolate them so that if one site is hacked, the other is not affected?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vitaliy Orlov, 2016-10-24
@orlov0562

Запускай веб-сервер от разных юзеров (например, для апач с помощью модуля mpm_itk) и настрой open_base_dir исключительно на директории сайтов.

E
Erelecano Oioraen, 2016-10-25
@Erelecano

lxc
каждого в своей контейнер

D
DuD, 2016-10-25
@DuD

Nginx+php-fpm, each php-fpm pool from its own user.
Well, or Docker.

P
Puma Thailand, 2016-10-25
@opium

Divide the rights by user, well, php and apache from these users run

M
marataziat, 2016-10-25
@marataziat

either buy 3 dediks for 80 rubles each, which will guarantee safety, or do everything from individual users :3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question