Site Isolation gives your sites better protection

We’re now launching Site Isolation: a free, extra layer of security that stops malicious code from spreading between sites on the same account.

Better protection with Site Isolation
  1. Better protection for you sites with Site Isolation
  2. Why Site Isolation?
  3. Benefits when you have multiple sites on the same account
  4. How it works
  5. TL;DR
  6. Q&A

Note: You need to manually activate the feature

The feature is turned off by default. As a customer, you need to log in to cPanel and activate it manually for each site. We recommend reading the segment “Before you activate”.

Better protection for your sites with Site Isolation

We’re now launching Site Isolation on our servers for web hosting accounts, Agency and Managed Server. The new feature lets you isolate the sites on your account from each other. In practice, this means that if an isolated site is hacked, the attacker can’t access the files on your other sites.

We’ve rolled out the feature gradually to make sure everything works as it should, and it’s now available on all our servers.

– We’ve isolated customer accounts from each other for a long time. Now you can do the same between the sites on your account. We recommend enabling it for every site that works with isolation turned on, and testing one site at a time, says Martin Stenröse, Operations & Security Manager at Oderland.

“It’s about limiting the damage and stopping it from spreading, not about preventing the breach itself.“

Why Site Isolation?

Our servers run CloudLinux with CageFS. Every customer account already has its own “cage” on the server, meaning one account can’t see or access the files in another.

Within an account, however, the sites have access to each other’s files. If you have a main domain and an addon domain, they share the same file system. If one of these sites is hacked, for example through a vulnerable plugin, the attacker can easily gain access to the others.

But not with Site Isolation.

– Vulnerabilities in plugins and themes are now exploited quickly and automatically, often before you’ve had time to update. Trying to keep attackers out isn’t enough anymore. You also need to limit what happens once someone gets in, says Martin.

Benefits when you have multiple sites on the same account

  • A breach doesn’t spread to other sites
  • Easier to handle a breach, since fewer sites need to be cleaned up
  • Choose PHP version and PHP extensions for each site

How it works

Once you activate Site Isolation for a domain, the site only sees its own files and can’t access the other sites’ file systems. Scheduled cron jobs are also limited to each site’s directory.

“We’ve isolated customer accounts from each other for a long time. Now you can do the same between the sites on your account.“

Each isolated site gets its own PHP settings. You choose the version and which PHP extensions are active, site by site. This wasn’t possible before, since the setting applied to the whole account.

– It’s about limiting the damage and stopping it from spreading, not about preventing the breach itself. If you have five sites on one account and one of them gets hacked, Site Isolation makes sure the problem stays there, says Martin.

In addition, our Object Cache plugin supports Site Isolation, so that each isolated site can have its own Redis or Memcached instance. This means the sites do not share a cache with one another and you can clear the cache on one site without affecting the others.

TL;DR

The extra security layer Site Isolation is now available for web hosting accounts, Agency and Managed Server.

  • If an isolated site is hacked, the attacker can’t access the files on your other sites
  • You need to activate it yourself on each site where you want it

Q&A

  • An isolated site only sees its own directory. If the site needs files outside that directory, it will stop working. This could be an .env file or a vendor directory elsewhere in the home directory, a symlink pointing outside the directory or a configuration shared with another site. If so, leave isolation turned off for those sites.
  • Domains pointing to the same directory share isolation and PHP settings. This applies even if only one of them shows as isolated in the list. An alias domain, for example, points to the same directory as the main domain. You can see which domains share a directory under Domains in cPanel (in the Document Root column). To turn off isolation, you need to turn it off for all domains sharing the directory.
  • The protection only applies to the specific sites you isolate. So make sure isolate every site on the account that can handle it.
  • If the site uses Object Cache (Redis or Memcached), it needs its own instance once it’s isolated. You start it under Object Cache in cPanel, where isolated sites are listed separately.
  • The site starts with the account’s current PHP version and extensions. After that, you may set them site by site.
  • Activate one site at a time and make sure everything looks fine. You can turn isolation off again at any time.

We’ve written a guide that walks you through activating Site Isolation step by step. You’ll find it here.

No, not directly. Site Isolation doesn’t make it harder to get into a site. What it does is stop a breach from spreading to your other sites. You still need to keep your site updated.

We take care of security protection and backups on the server as usual.

No. Site Isolation only isolates files and PHP settings, not resources. Resource limits still apply per account, so a heavy site can still affect the others on the same account.

We’re still recommending “one site per account”. Separate accounts also isolate resources, databases, email and logins. That’s why we recommend separate accounts for staging and production. Site Isolation is good protection when you can’t split things up that way.