Multi-Domains

Easily allow users to create new sites (blogs) at multiple different domains – using one install of WordPress Multisite you can support blogs at name.domain1.com, name.domain2.com etc. etc.

Download Multi-Domains

or get all our 350+ premium plugins & themes »

Screenshots

Super admin multi domain configuration panel
How multi domain can work for you
Sample of how selecting a domain can appear
Detail

Would you like to run an unlimited number of different domains from one WordPress Multisite installation?

Would you like to easily create blogs at alternative domains to your core site, or give your users the option to choose? … Well, if so, this is the solution you’ve been looking for.

Selecting from different multisite domains

All you need to do is upload the plugin, enter the domains you’d like to be able to select from, and they will be automatically added to the signup and new blog creation forms.

What’s more, this is entirely compatible with our individual site (blog) domain mapping plugin so that you can map individual blogs set up on different domains to their own dedicated URLs too!

The plugin adds a simple ‘Multi-Domains’ item to your Network Admin > Settings menu and allows you to add as many domains as you like to it.

You can choose to make the domains either:

  • Public – can be used by any user
  • Private – can only be created by super admins

And you can add and remove domains whenever you like as you progress.

Also, this feature is single sign on compatible – so if you’re logged into one domain, you’ll also be logged into the other ones. … Cookie magic!

And, over time, we’ll be integrating this into our membership and supporter plugins too – so that paid members of sites can get access to premium domains and supporters can select great URLs.

Enjoy.

 

Usage

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

To Install:

1. Download the plugin file

2. Unzip the file into a folder on your hard drive

3. Upload multi-domain.php and the multi-domains-files directory to the /wp-content/mu-plugins folder on your site (if you do not have this directory you will need to create it.)

4. Upload sunrise.php to the /wp-content folder on your site – If you are using the domain mapping plugin, rename dm_sunrise.php to sunrise.php and upload it to the /wp-content folder on your site

5. Edit wp-config.php (normally located in the root of your install) and the following: define( ‘SUNRISE’, ‘on’ ); (Please ensure that you type this and not just copy and paste – Take care with the back-ticks)

Turn on Sunrise in wp config

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

Adding Domains To Your Registration Pages:

1. Enter your domain name in the spot provided.

2. Select the domain 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 Add Domain. The domain will be displayed on your user and blog registration pages. At this point, you will need to do some server and domain name configuration in your hosting to make sure the blogs created work.

 

Server and Domain Configuration

In the DNS records for each domain added, add a wildcard subdomain that points to this WordPress installation by IP.

It should look like: A *.domain.com.

For example, here’s a domain configured with a wildcard subdomain through enom (godaddy and other domain registrars offer very similar services):

 

wildcard subdomain through enom example

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 http://66.135.63.39 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: http://74.54.219.243) here is what to 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 tell your host to configure your WPMU virtualhost to be the default for your dedicated IP.

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

Deleting Previously Added Domains:

1. Hover the domain name in the list and click the Delete link which appear s.

2. 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.

If you liked Multi-Domains, you’ll love...

domain-mapping
Domain Mapping

The ultimate domain mapping plugin – allows multiple domain mapping on subdomain AND subdirectory installs, handles cross-domain cookie syncing and integrates with Pro Sites paid upgrades!

pro-sites
Pro Sites

Create your own blog network with upgrades, like WordPress.com or Edublogs.org, offering your users premium themes, premium plugins, extra storage, advertising, domain mapping and more.

new-blog-templates
New Blog Templates

A comprehensive new blog defaults / templating plugin. Simply create a template blog (or many!) and then duplicate every single setting (content, theme, categories etc.) for every new blog