Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mtndan on
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
Yes, but why?
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).why dedicated ip's
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/
--
Dan Katz
http://www.linkedin.com/in/mtndan
http://twitter.com/mtndan
Sure
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
thanks
Thanks for your response!
--
Dan Katz
Electric Sage Designs, LLC
Web development, hosting and marketing
http://www.electricsage.com/
--
Dan Katz
http://www.linkedin.com/in/mtndan
http://twitter.com/mtndan
Wow you beat me to it!
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.
some truth
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/
--
Dan Katz
http://www.linkedin.com/in/mtndan
http://twitter.com/mtndan