How to: Install wordpress mu on a sub domain?

Ok, quick question here:

What problems would you expect to run into installing WPMU on subdomains with multiple servers?

I'll clarify with an example:

Server#1 IP <- WPMU for dogs only.
Could have subsites like

Server #2 IP
With subsites like

  • aecnu

    Greetings Jason :slight_smile:

    sir first of all it is quite a unique idea you have there with your Sub-Site Proposal, however, as a server administrator myself this could be quite messy from the server perspective, not that it cannot be done but it could still be quite messy using 2 level deep subs i.e. subs of subs.

    With that being said one of your main challenges will be the DNS.

    The top level domain or commonly known as TLD - - will of course be hosted on one server, and that server will need to resolve the domain names for all the sub domains with DNS entries for the subs on server 2 entered so they are pointing to server 2.

    Now some would argue that this could be accomplished by using what we call Poor Mans Load Balancing by adding server 2's IP to the DNS of Server 1's TLD, but then in this case Server 2 would then have to have every DNS listing as Server 1. A lot of work and very messy.

    I would suggest the best route to take with your proposal and to make it work efficiently would be as follows:

    Server 1 hosts the TLD and does all the DNS for both servers.

    Drop the fourth sub of a sub in the domain name:

    Server#1 IP <- WPMU for dogs only.
    Could have subsites like

    Setup DNS in server 1 with A records for the Sub Domains on server 2 to point to the IP of server 2

    Server #2 IP
    With subsites like

    The above is relatively clean, manageable, and easier to trouble shoot.

    But we are forgetting one thing that has not been mentioned, that is creating the Multi Site on Server 2 and administration thereof.

    This would be accomplished by two things:

    a Word Press Install would be need to setup on Server 2 either as single installs for each domain or you will need to use again in a Multisite environment.

    A way to address on server 2.

    The first thing to do would be to make a way that you could address on each server independently. This can be accomplished by using in Windows based machine the Hosts file located more then likely at (does not consider custom installs of windows OS): C:\Windows\System32\drivers\etc\hosts

    After one of the last entries in the Hosts file i.e. # localhost name resolution is handled within DNS itself.

    and its native entry of localhost

    you would add:


    and which server you want to talk is controlled by commenting otu the one you do not wnat to work with I.E.

    This allows you to address server 1:


    This allows you to address server 2:


    now keep in mind that after you have made the switch each time you must save the file and the change is immediate. CAUTION: Use only a text editor that does not add extra character encoding to the file.

    Joe :slight_smile:

  • Jason

    I use cloudflare for my nameservers. You should check them out.

    I Love your post by the way!
    For the sake of clarity, let me clear up a few points I missed.

    The networks, cats and dogs, are unaware of each other for the most part.

    Iam thinking of using a third server for the root domain It will be nothing but an html file that says click here for cats or here for dogs.

    So my DNS entries would actually look like = /serves static html file
    * = / WMPU Community
    * = / Different WPMU community

    FYI this is all coming from more of a need than a desire.
    If there was a green cat breeder, and a green dog breeder, I wouldn't want them to be confused with each other, and it would give me more time/opportunites to launch new servers for like birds snakes, etc.

    animals is just an example. Each server would have an estimated 5,000+25,000 Blogs.

    Because that is the size of the niche/subniches I'm in. Each server will get their own administrator as well.

    I use Linux with Nginx and APC caching, so I'm hoping I can also keep this running of multiple virtual servers. The VM's can scale up to 4 GB of ram. Do you think I'm taking a good approach to this?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.