2

We are deciding whether to keep one of our servers as strictly for one site or usage with multiple site (a name-based virtual hosting setup). Is there an expensive processing cost with multiple sites running from the same server?

1
  • J.T.Sage has the answer to your performance question (e.g. no meaningful hit if you can otherwise handle the added traffic), but you also need to carefully consider any security implications. Particularly if your sites are dynamic, you need to take into account that without taking additional steps, all code will be executing as the Apache user, and by definition will have access to the files of all the sites being hosted. Nov 9, 2009 at 16:01

2 Answers 2

3

It depends on your server package to some degree, but apart from the increased traffic the machine will need to handle (all the sites rather than just one of the sites), the performance hit is pretty unnoticable for the first couple hundred virtual hosts. Adding a virtual host to apache is a particularly painless process, more so once you get the hang of it.

1

It's not a big deal. In terms of processing power it's less than a lot of standard URL rewrite rules.

Unless all your pages are pure html, you'll see much higher process costs on the scripting engines.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .