Hi Folks,

I'm interested in the possiblity of having a single drupal installation for multiple sites.

However, would each site be able to have it's own dedicated IP address, or would all the sites be "seen" as having the common Drupal installation IP?

Thanks in advance,
Dan

Comments

luno’s picture

While you are not required to have different IP addresses for the sites (so long as your users' browsers support the Host: header - only ancient ones don't), there's nothing stopping you from wasting multiple ip addresses on a single machine except common sense (see the guidelines for conserving IP addresses at ARIN). Just make sure the /sites/foo.example.com/settings.php uses a base url that resolves in DNS to the other IP address(es).

mtndan’s picture

Probably the primary reason we "waste" dedicated IP's on a shared server is because if some wingnut is sending spam from his site, or otherwise committing abuse, we don't want everybody else who may share that IP to get penalized.

--
Dan Katz
Electric Sage Designs, LLC
Web development, hosting and marketing
http://www.electricsage.com/

styro’s picture

That's nothing to do with Drupal, it's purely how you set up your Apache virtual hosts.

As far as I'm aware Drupal won't really be able to tell whether you're using an IP based host or a host header based one.

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Example Knowledge Base built using Drupal

mtndan’s picture

Thanks for your response!

--
Dan Katz
Electric Sage Designs, LLC
Web development, hosting and marketing
http://www.electricsage.com/

murph’s picture

I had this question on my to ask list!

Correct me if i'm wrong, but my reasoning behind having different C block IPs is that if you crosslink your sites in a network (as this a great way of getting backlinks especially if you own loads of sites), you will get penalised by some search engines for over cross networking.

But if you use say a new IP (has to be on a different C block) for every set of x sites you should be cool to interlink and avoid penalties and gain PR/backlinks.

mtndan’s picture

I think there is some truth to that idea, but I doubt there is conclusive evidence that supports it.

--
Dan Katz
Electric Sage Designs, LLC
Web development, hosting and marketing
http://www.electricsage.com/