大网数据广告活动
网站运营与故障问答

What are the pros and cons of hosting multiple domains on one VPS?

· 52CE 我爱测

I have one main company website (lots of traffic), and 10+ personal sites that I host for friends (small traffic). I'm wondering if there are risks if I just host them all on one VPS instead of having a separate VPS for the compa…

问题原文

原帖链接 · jetlej · CC BY-SA 3.0

I have one main company website (lots of traffic), and 10+ personal sites that I host for friends (small traffic).

I'm wondering if there are risks if I just host them all on one VPS instead of having a separate VPS for the company website.

Eg. If one of those sites installs a malicious plugin, could it affect my main site?

已采纳解答

原帖链接 · Rob · CC BY-SA 3.0

In a sense, a VPS host already hosts thousands of separate company web sites already so you doing the same thing is no different. The only disadvantage is, if the VPS goes down, they all go down.

If you are paying for traffic, of course, then that cost will go up but you say that is minimal.

Should one of the sites get heavily loaded, it can slow down all your sites depending on how your host has your server configured.

One concern is malicious code between sites. This can be locked down with proper security measures such as Jails in FreeBSD or containers in Linux, not to mention setting all the usual permissions and user levels afforded by *nix/BSD systems to isolate each site as much as possible.

An advantage is it saves you money by not buying more server installations and keeping everything under one roof.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-02-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。