Offer sites with unlimited and different domain options on a single Multisite installation. All the perks without the hassle.


  • Fixed: vulnerability in add_query_arg and remove_query_arg usage
  • Fixed: Wildcard DNS Availability check


May 1, 2015 - version
  • Fixed: vulnerability in add_query_arg and remove_query_arg usage
  • Fixed: Wildcard DNS Availability check

September 24, 2014 - version
  • Amended: sunrise inclusion

September 21, 2014 - version
  • Changed how sunrise is maintained

April 21, 2014 - version
  • Deprecated multi_domain::restore_current_site()
  • Fixed bug with outgoing emails on new site creation

April 17, 2014 - version 1.3.4
  • Added sso for logging to main domain from secondary domains

April 10, 2014 - version 1.3.3
  • Added Multidomains_Sso
  • Fixed cross domain single signon issue
  • Fixed cross blog single signon issue

January 14, 2014 - version 1.3.2
  • Fixed site creation issue which appears when create a site via admin dashboard.

November 26, 2013 - version 1.3.1
  • Reworked network admin domains page
  • Improved performance for case when a lot domains are added
  • Fixed minor issues
  • Fixed sunrise.php compatibility issue
  • Integrated new WPMUDEV dashboard notifications class

October 31, 2013 - version 1.3
  • Reworked the multi-domains plugin to work from plugins directory
  • Implemented functionality to auto copy/upgrade sunrise.php file

July 5, 2013 - version 1.2.3
  • Updated the sunrise.

May 31, 2013 - version 1.2.2
  • Updating sunrise.
  • Forcing empty values existence.

November 19, 2012 - version 1.2.1
  • Placement script scoping.
  • Blog selection issue fix.

August 13, 2012 - version 1.2
  • Domains site search.
  • Stuck transients issue fix.
  • BuddyPress cross-domain login issue fix.

January 14, 2012 - version 1.1.6
  • Better selection block placement.

October 13, 2011 - version 1.1.5
  • Fix for new site creation on sub-blogs.

May 17, 2011 - version 1.1.4
  • Fix for re-auth required on first login issue.

January 19, 2011 - version 1.1.3
  • Enhancement: performance improvements
  • Bug fix: incorrect domain used on site creation in network admin

January 15, 2011 - version 1.1.2
  • New Feature: Option to enable/disable single sign-on

January 14, 2011 - version 1.1.1
  • Enhancement: 3.1+ compatibility
  • Enhancement: Allow disabling cross domain login with a constant

December 19, 2010 - version 1.1
  • Enhancement: More extensible code with new hooks and structure
  • Bug fix: Allow www in mapped domain name

November 14, 2010 - version 1.0.9
  • Bug fix

November 10, 2010 - version 1.0.8
  • Enhancements and bug fixes

October 24, 2010 - version 1.0.7
  • Bug fix, added check for COOKIE_DOMAIN in sunrise.php

October 16, 2010 - version 1.0.6
  • Bug fixes, domains now stored in alphabetical order

October 10, 2010 - version 1.0.5
  • Bug fixes

October 4, 2010 - version 1.0.4
  • Bugfixes

September 20, 2010 - version 1.0.3
  • Fixed issue with blog registration on subdomains installs

September 6, 2010 - version 1.0.2
  • Bug fixes

September 1, 2010 - version 1.0.1
  • Many bugfixes, full BP support, pot file added

September 1, 2010 - version 1

    Downloads 27,319

    Compatibility Multisite 4.2.2 BuddyPress

    "WPMU DEV has created plugins that have transformed my business"

    Andrew Shanahan

    Multi-Domains adds the power to operate multiple primary domain names on a single WordPress Multisite network.

    It’s like having multiple networks on one Multisite installation – but better.

    Offer relevant URLs to more users on one network.

    More Network URLs to Choose From

    Give users the ability to choose a network domain that relates to their business, site or service or let users easily create a niche blog and select a content relevant URL.

    Add full domain control and flexibility without creating a new network.

    Global Login Sync

    Enable single sign-on sync and pass from site to site without having to login everytime you change domains.

    Provide fast user access to all the content on your network.

    Give users more choices and add value to your network.

    More Name Options

    Automated page configuration and a powerful single-settings page have Multi-Domains working perfectly out-of-the-box.

    Add domains using the domain manager and the new host URL options will be automatically added to the Site Sign-up form.

    Level-Up With Domain Mapping and New Blog Template

    Integrate Multi-Domains with Domain Mapping and offer your users a completely custom url.

    Plus, with New Blog Templates you can set unique default themes for each host domain.

    Please note: Multi-Domains is for sub domain installations only and will not work well for subdirectory installations.

    Other important notes:

    • As of Multi-Domains version 1.3, it is no longer necessary to manually install the plugin in the mu-plugins folder. Woot! If you have an older version in that folder now, please remove it.
    • It is also no longer necessary to manually update the sunrise.php file as that is now done automatically. :)
    • Finally, if you are also using our Domain Mapping plugin, be sure that it is at least version 4.0.3.

    To Get Started

    Start by reading Installing plugins section in our comprehensive WordPress and WordPress Multisite Manual if you are new to WordPress.

    Once installed and network-activated, you will see a new menu item in the Network Settings menu.

    Multi-Domains Menu

    Configuring the Settings

    The first thing you need to do is add a constant to your wp-config.php file.

    Please copy the sunrise.php from the plugin folder /FOLDER-PATH/wp-content/plugins/multi-domains/sunrise.php into /FOLDER-PATH/wp-content/sunrise.php

    Then open your wp-config.php file (normally located in the root of your install) and please uncomment or add (if not available) the following code just before the line that says “That’s all, stop editing!”:

    define( 'SUNRISE', 'on' );


    Please ensure that you type this and not just copy and paste. Take care to use single quotes and not back-ticks.

    Save and re-upload that file.

    Now head over to the Multi-Domains page in your Network Admin area at Settings > Multi-Domains

    Multi-Domains Settings

    There, you can add all the domain names you want to include in the selection for new sites in your network.

    Simply enter the name, select Public or Private, and click Add Domain. Done.

    Note that domains set to Private will be available to the network admins only. Domains set to Public will be displayed on your user and blog registration pages.

    Bonus! If you have the New Blog Templates plugin installed, you can also select which template to use for each domain. Cool huh?

    The final step is domain name configuration in your hosting to make sure the blogs created work.

    Domain Configuration

    In the DNS records for each domain added, add a wildcard subdomain that points to the IP of your WordPress multisite.

    You simply need to add an “A” Record by entering an asterisk for the name, and the IP of your multisite for the address.

    For example, here’s a domain configured with a wildcard subdomain through cPanel:


    Deleting Previously Added Domains:

    Hover your mouse pointer over the domain name in the list and click the Delete link which appears.

    Multi-Domains Delete

    If you want to do a batch delete of several domains, check the boxes next to the domains names and click the Delete button .

    Changing a domain status:

    You may want to change the status (public or private) of a domain name.

    1. Hover the domain name in the list and click the Edit link which appears.

    2. Select a new status.
    – Choose Public if you want it to be available to all the users who register on your blog.
    – Choose Private if you want it to be used by Super Admins only.

    3. Click Save Domain.

    Creating Sites in the Admin

    Now when you go to Sites > Add New in your network admin, you’ll see a new option to select which domain you want to add the new site to.

    Multi-Domains Add Site

    User Experience

    Users who wish to create a blog in your network can now select from the domains you have made available to them when they sign up.

    Multi-Domains Signup

    Potential Issues

    Many times you may run into trouble where mapped domains don’t resolve to your WordPress Multi-site install even though the DNS is correct for the domain you are trying to map.

    This is especially common with shared hosting. Some symptoms are getting a default or non-existent domain screen branded by your host. What this means is that your WordPress install/virtualhost is not set as the default for your IP address, so different domains do not load it up.

    Here is a very simple way to check if your hosting is configured correctly: Simply enter your server’s IP address into a web browser and see if it loads up your WordPress signup page. For example, using the Edublogs IP you would enter into the web browser. See how it loads up the signup page? If entering your IP pulls up an error screen from your host (Example: here is what you can do:

    1. Purchase a dedicated IP address for your hosting.

    2. Many times just the dedicated IP will do the trick. If not, you will need to ask your host to configure your WPMU virtualhost to be the default for your dedicated IP.

    3. If you have addon domains in your hosting account, this may cause additional issues. To resolve this, you could add the domain you want to offer as a parked domain. Then create a wildcard A record in your DNS zone editor and point it to your dedicated IP as shown above.

    • Note that any DNS edits may take up to 48 hours to propagate.

    Of course, if you ever get stuck, just drop by the forums or live support for assistance!

    Multi-Domains Feature Set

    Create a more valuable network with host domain name options.

    • Offer multiple host domain names
    • Add value to Multisite
    • Add domain selector at signup
    • Automatically adds dropdown
    • Single settings page
    • Public – available to all users
    • Private – Super Admin use only
    • Single sign-on sync
    • Global login
    • One-click add/remove
    • Domain Mapping integration
    • New Blog Template integration