Support » Networking WordPress » Doing local dev with mutlisite and domain mapping

  • Richard Archambault


    Happiness Engineer


    I am going to be embarking on a major project soon, and want to be sure that I know how to do it properly. I will be developping locally (on a Win7 machine with Xampp; however, I am open to doing it on Ubuntu if it makes a difference). Here is where it gets complicated, at least according to my level of knowledge: it will be a multisite install with mapped domains AND subdomains. Here’s what it’ll be like (fake domain names obviously):

    Main/root domain: (this will only be a static landing page; I’ll also ideally use this as a roll my own link shortener domain which I will configure all my subsites to use, i.e.

    Mapped domains:, (subsites )

    subdomains:, (also subsites); I may also eventually have etc, but that’s not for sure yet.

    So, a somewhat complex setup, but I have it all mapped out, and I think that I can make it work fine with the wpeBooks plugins, Networks+ and Professional Domain Mapping. But now, here’s the crux of my question:

    How do I develop this locally??? With mapped domains and all, I’m just not sure how I can get this to work locally. I want to be able to do a seamless deployment to a Linux Apache server (as seamless as possible, anyway), so that everything is set up and ready to go when I deploy (subsites are there, theme options are there, widgets are there, the works).

    Any advice, walkthroughs, tips, etc will be highly appreciated. Let me know if I need to clarify anything!

    thanks all!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The secret to getting that working locally is in your hosts file, so that you can “pretend” all those domains are actually running on your local machine (or any other alternative location, such as a test server).

    Check out this tutorial:

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Yep, hosts file. 🙂

    The main caveat I would offer when developing on Windows and migrating to Linux would be that Windows files are not case-sensitive. In Windows, Index.php is treated as the same file as index.php and index.PHP. In Linux, however, those would be treated as 3 different files (so, if you try to include or link to index.php, but the file is actually named Index.php, Windows will find the file just fine, but Linux won’t).

    As long as you keep that in mind when developing and linking to things, you should be okay.

    Richard Archambault


    Happiness Engineer

    Thanks Curtiss! I was aware of that, but a reminder (for me and whoever is reading this) is never a bad thing! 🙂

    And thanks Andrea!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Doing local dev with mutlisite and domain mapping’ is closed to new replies.