• Resolved yovia

    (@yovia)


    Hi, we are trying to load balance MU across multiple servers

    for example:

    http://174.129.42.233/blogs/spreadtheword

    and

    http://107.22.183.251/blogs/spreadtheword

    are exact copies, however something in my configuration is redirecting everything to:

    http://yovia.com/blogs/________________

    I have updated my wp-config.php file to point to the IP which didn’t cause any problems:

    define(‘WP_SITEURL’, ‘http://174.129.42.233/blogs/’);

    However, because the domain is set to yovia.com, it tries to redirect both installs to yovia.com/blogs

    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/blogs/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘yovia.com’ );

    If I try to change ‘yovia.com’ to an IP it gives me database errors. Anyone know how to handle just getting WordPress to run without the domain being hardcoded?

Viewing 1 replies (of 1 total)
  • Thread Starter yovia

    (@yovia)

    Solved this. Using AWS load balancing – then use their DNS tool to set the A record the load balancer and keep, assuming you are not also load balancing the databases it should work. You might also need to point www to @ via a CNAME

Viewing 1 replies (of 1 total)

The topic ‘load balancing question’ is closed to new replies.