Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it ever good practice to separate website hosting from email hosting for a single domain, via virtualization?


A dedicated server hosts a single domain,

This server runs a web application, which is publicly available via

The server also hosts IMAP email accounts.

Two VPSs could be set up on the dedicated server - one for hosting the web application, and one for the email accounts. This would presumably safeguard the email accounts from any potential problems derived from the web application.

Is this done much in practice, and if so what is the best method of going about this? I was thinking Virtuozzo + Plesk. However my problem with this approach is the disconnect between the two control panels. It would be ideal to set up the domain in a single location which took effect in both virtual environments.

share|improve this question
up vote 0 down vote accepted

Virtualization or not, it is very common to separate incoming mail service from web service. As you say, it's a layer of protection against the web server becoming compromised, for example. It also separates out the load patterns; an overloaded mail system won't take down your outward facing web server, and vice versa.

share|improve this answer

I wouldn't bother splitting them up. Regular unix accounts, along with proper security precautions, should provide sufficient protection.

share|improve this answer

You hadn't mentioned how big your domain is (how many people, etc.) but in practice you want to also have backup MX "spool-and-forward" mail servers also online in case the primary becomes unavailable. Companies such as can provide very inexpensive, spam-catching solutions for your setup that takes little effort to get going.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.