I am currently setting up a server that will host static websites, WordPress installations, forums and an eCommerce shop. I'll use Nginx, PHP and MySQL.
Some of the hosted websites will be completely independent: One is a personal blog, one is a community forum, another is a website for a commercial product. Does it make sense to create a jail for each for these individual websites? In the handbook I have read that jails are not the holy grail of security as there are ways of an external process to break into a jail. However, in my case the question is whether it's worth doing it so if one of the websites gets compromised (eg. a PHP vulnerability) that the other services stay immune.
When I understand the way that jails work correctly then there will basically be no overhead at all?
What's the common recommendation here?
Some of the hosted websites will be completely independent: One is a personal blog, one is a community forum, another is a website for a commercial product. Does it make sense to create a jail for each for these individual websites? In the handbook I have read that jails are not the holy grail of security as there are ways of an external process to break into a jail. However, in my case the question is whether it's worth doing it so if one of the websites gets compromised (eg. a PHP vulnerability) that the other services stay immune.
When I understand the way that jails work correctly then there will basically be no overhead at all?
What's the common recommendation here?