0

Would sharing an ip for multiple domains cause any kind of security problems? Imagine there are multiple domains which should be hosted on a server. Which is more secure? Sharing one ip for all the domains or using a dedicated ip for each domain?

2
  • Please clarify what you mean by "more secure". Are you worried about being effected by a DOS against one site? Email blacklisting? Or something else?
    – Daisetsu
    Nov 8, 2018 at 19:20
  • As Daisetsu is hinting at, there are good SEO and administrative reasons to have unique IPs for certain websites. In terms of getting hacked, the risk is much more about how isolated your hosting environments are from one another than if they share an IP.
    – Nosajimiki
    Nov 8, 2018 at 21:15

1 Answer 1

2

There is no security benefit to either approach.

The only security benefit that you would get is by running the sites on different servers, to separate their duties. That way if one gets compromised the others are left intact. In such a setup the number of IPs is still irrelevant; you could have separate internet-facing IPs for each server or you could have some sort of reverse proxy in front with one internet-facing IP. Neither has any particular security benefit over the other (although the latter does open up more options for high availability).

You must log in to answer this question.

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