• Resolved bdoreste

    (@bdoreste)


    Is anyone running multiple multisite installations running on a single IP address? I would like to set up several multisite installations, however, I only have one IP address at my disposal.

    The catch – I want to use Donncha’s WordPress MU Domain Mapping plugin to map multiple domains per installation.

    I want to set up groups of installations, so that each group will have its own separate database and admin rights. Each install would have multiple domains mapped to it. If one installation needs to be taken off-line (or breaks), then the other installs will still function.

    any thoughts? is this possible?

    I am using 3.0 RC2; I have the following lines in my wp-config.php:

    define( 'WP_ALLOW_MULTISITE', true );
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'mysite1234example.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    my apache config is here (with wildcard):

    <VirtualHost 192.168.0.0>
            ServerName mysite1234example.com
            ServerAlias www.mysite1234example.com
            ServerAlias *.mysite1234example.com
            DocumentRoot /storage/www/mysite1234example.com
            ServerAdmin webmaster@localhost
            LogLevel warn
            ErrorLog /storage/logs/mysite1234example.com/error_log
            CustomLog /storage/logs/mysite1234example.com/access_log combined
            ServerSignature Off
    
            <Directory />
                    Options FollowSymLinks
                    AllowOverride All
            </Directory>
            <Directory /storage/www/mysite1234example.com>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
    </VirtualHost>

    and I have Matt’s line in for the wildcard DNS in my zone file here:

    ;wildcard dns and subdomain for wordpress multi site
    ;http://ma.tt/2003/10/wildcard-dns-and-sub-domains/
    *. mysite1234example.com. 14400 IN A 192.168.0.0
Viewing 12 replies - 16 through 27 (of 27 total)
  • @andrea
    Thanks for the answer. πŸ™‚

    At the moment, I am using domain-mapping and its working fine so I better stay with it.

    James

    (@james-callaway)

    Maybe this belongs to a separate thread, if so, feel free to slap my hand…lightly if you please!

    I am also trying to set up multiple multi sites. The first one is in the root directory. Let’s call it site.com. The next one is super.site.com in a subdirectory called super. The issue I ran into was that when I tried to activate the network it said that another network had been detected and the new network was not activated.

    Any ideas how to proceed?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    James, Are you using the same database?

    James

    (@james-callaway)

    No, they are separate installations on separate databases. Would it better or easier to do it differently?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    I’m not sure which is better, but if it’s detecting a network, double-check the wp-config.php file on the SECOND site and make sure it’s pointing to the right DB.

    Have 2 multisite installations on one IP (DV):
    siteone
    sitetwo

    Everything worked fine until today when Media Temple enabled webstats on sitetwo (it was always active on siteone – the ‘primary’ site). Now sitetwo will not display subdomains but instead displays-

    ‘link broken’ page with this url – http://siteone.com/wp-signup.php?new=subdomainname.sitetwo.com

    Can anyone help? MT can’t.

    Thanks

    Thread Starter bdoreste

    (@bdoreste)

    ok, here we go again…

    I am trying to set up another multi-site install, but something isn’t cooperating with me.

    Everytime I place the domain_mapping.php file into the mu-plugins folder, OR insert the following code in wp-config:

    define( 'WP_ALLOW_MULTISITE', true );
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'example.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    
    define( 'SUNRISE', 'on' );

    my main wordpress install times out and will not load any pages.

    what gives? I have followed the directions in my own post here, and on Otto’s page at: http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Where did you put sunrise.php?

    If you’re not using the 3.1-RC2 build, I would suggest a new post in the MultiSite section, BTW πŸ™‚

    Thread Starter bdoreste

    (@bdoreste)

    sunrise.php is in /wp-content/ πŸ™‚

    I tried using both the 0.5.1 and 0.5.3 versions of the domain mapping plugin, but no dice.

    I should note that this install is being run on a domU virtual machine under Xen.

    I am using WP 3.0.4, but posted here since I originally started this thread back in June… if anyone has successfully set up domain mapping with 3.1-RC2 or 3.0.4 please let me know!

    Thread Starter bdoreste

    (@bdoreste)

    it looks like I was able to get it working! πŸ™‚

    I forgot to add /blogs.dir/ and to enable the Network menu item ( Administration > Tools > Network ); step 4 at:
    http://codex.wordpress.org/Create_A_Network

    thanks again!!!

    Thread Starter bdoreste

    (@bdoreste)

    darnit… the “Domain Mapping” option is not showing up under Super Admin in the base install… what am I missing???

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Yeah, but you’re not using the alpha anymore. A LOT of people get this working just fine πŸ™‚

    Post here: http://wordpress.org/support/forum/multisite

    I’m closing this since the ORIGINAL issue was resolved, and while this is the same, we’re on supported MultiSite 3.0.4 now πŸ™‚ It does make a difference (and more people will see it there).

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘multiple Multisite installs on single IP?’ is closed to new replies.