[resolved] How do I install two buddypress networks on one server? (10 posts)

  1. xjamesb
    Posted 2 years ago #

    I understand that a multisite instance can only support one BuddyPress network and that this is installed into the main blog.

    For this reason I have given each of my two clients a separate WordPress Multisite instance with BuddyPress installed running on their own Linux server.

    I would like to host the two sites on a single server.

    How do I do this?

  2. Patrick Nommensen
    Multisite Master
    Posted 2 years ago #

    This is more of a web server setup question than a WordPress question. The answer will vary depending on the web server (nginx/apache/lighttpd,etc) you are using. Ultimately, you will need two virtual host configurations - one for each site/network.

  3. xjamesb
    Posted 2 years ago #

    Is it as simple as copying htdocs to htdocs_new_network and creating

    * a new DNS entry for *.new_nework.com and
    * a new virtual host for *.new_nework.com pointing at the htdocs_new_network folder and
    * a new database for the content?

    I am worried that when I copy htdocs over I risk corrupting my existing installation.

    * What configuration files need to be changed in htdocs_new_network?

    Both networks will be using the same PHP engine.

    * Will this just work?
    * Will it double the memory requirement?
    * Will caching go horribly wrong?

    Thank you very much for your help

  4. Patrick Nommensen
    Multisite Master
    Posted 2 years ago #

    Can you provide some details about your hosting environment?

  5. Bruce_
    Posted 2 years ago #

    setup 2 virtual hosts. then install wp into each space. add a new database, so each sites uses its own db. uses more resources, but it's not duplicating apache, php, or mysql.

  6. xjamesb
    Posted 2 years ago #

    My hosting environment is

    * Bitnami LAMP stack running on Amazon Web Services

    My thoughts were along the lines suggested by Bruce_ but because I could find nothing online about this scenario I thought I better check in this forum.

    I will have a go and report back.

  7. This plugin claims to be able to have multiple BP instances: http://buddydev.com/plugins/buddypress-multi-network/

  8. xjamesb
    Posted 2 years ago #

    Thank you Mika,

    I have read the documentation on this plugin and although it is very good it is a bit too scary for me at the moment. It seemed to break due to point releases of BuddyPress and BuddyPress 2.0 is due out on April 16th 2014.

    The author points out that there are several open issues about cross-network authentication. For security I need absolutely
    clarity in this area.

    My technical ability is too low at the moment to maintain this plugin so I think that I will wait until either I am better or the plugin moves into BuddyPress core (if ever).

  9. If you're worried about cross network information contamination, I actually wouldn't suggest Multisite for this. Yet. You can always tell if you're on a network :/

  10. xjamesb
    Posted 2 years ago #

    I have written detailed instructions here.


    In summary,
    * single Apache
    * multiple virtual hosts
    * one WordPress Multisite install per host
    * WordPress Multisite has to installed manually because I don't have a script for it.

Topic Closed

This topic has been closed to new replies.

About this Topic