WordPress Multiple User: Domain Mapping

Michael Mann
WordPress Multiple User allows for you to create multiple weblogs under a single domain. The preferred method is to use sub-domains, allowing you.yourdomain.com. This can offer a nice short URL, but perhaps you wish to use a otherdomain.com instead? Using the Domain Mapping Plugin, we can accomplish this rather easily.

First of all, normally plugins would be placed in wp-content/plugins/, but not the domain mapping plugin. Do NOT Upload this plugin to this folder. Instead, upload domain_mapping.php to wp-content/mu-plugins/ and sunrise.php to wp-contents/. In the main blog folder, we will need to uncomment the following line in wp-config.php by removing the // in front:

define( 'SUNRISE', 'on' );

Place this file back on to the server. Since we placed the main plugin file into wp-content/mu-plugins/, there is no need to activate the plugin. Items placed in this folder are automatically activated.

Setting up Domain Mapping

Before we can use domain mapping, we will first need to create a blog using the sub-domain format. So add a new blog, if you have not done so already. Logged in as a Administrator, locate Site Admin on the left side navigation. Click the downward arrow next to Site Admin to reveal the available options. Click Blogs. Locate the blog you wish to use domain mapping on and hover over its name. This will reveal several links, including Backend. Click Backend.

This will take you to the backend for the selected blog. Locate Tools on the left side navigation. Click the downward arrow next to Tools to reveal the available options. Click Domain Mapping. There are two items to fill in here.

The first is the Server IP address. This will be the same IP address at which you will point the secondary domain. Enter The IP address and click Save.

The second is to add the secondary domain. Under Add new domain, enter the secondary domain. Click Add. The domain you just entered should appear in a new section titled "Active domains on this blog".

Add an A record

The final step is to add an A record pointing to the Server IP address used above. The exact steps varies depending on the control panel available from your hosting provider. Contact your web host if you need assistance with this.

Final Notes

Once all of the above is completed, visit the secondary domain in your web browser. If you see your WordPress blog, you are all set.

Published by Michael Mann

With over 12 years of professional experience as a Web designer and over 25 years of general computer experience, I am often the resident tech . I own and operate Michael Mann Desktop Publishing, a desktop p...  View profile

To comment, please sign in to your Yahoo! account, or sign up for a new account.