<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rich Bui &#187; WordPress.com</title>
	<atom:link href="http://richbui.com/tag/wordpresscom/feed/" rel="self" type="application/rss+xml" />
	<link>http://richbui.com</link>
	<description>Welcome to my website.</description>
	<lastBuildDate>Mon, 19 Sep 2011 15:23:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Domain Mapping For WPMU That Makes Sense</title>
		<link>http://richbui.com/2008/08/13/domain-mapping-for-wpmu-that-makes-sense/</link>
		<comments>http://richbui.com/2008/08/13/domain-mapping-for-wpmu-that-makes-sense/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 18:51:02 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Automattic]]></category>
		<category><![CDATA[Donncha O Caoimh]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=1548</guid>
		<description><![CDATA[Donncha&#8217;s new Domain Mapping plugin for WordPress MU is a wonderful plugin that WPMU users have long salivated for since WordPress.com introduced the feature almost a year ago. Donncha, for those who don&#8217;t know, is Automattic&#8217;s primary (translation: only) WPMU developer and is amazing at rolling features from the WordPress standalone and WordPress.com into the [...]]]></description>
			<content:encoded><![CDATA[<p>Donncha&#8217;s new <a href="http://ocaoimh.ie/2008/08/11/wordpress-mu-domain-mapping-01/">Domain Mapping plugin</a> for WordPress MU is a wonderful plugin that WPMU users have long salivated for since WordPress.com introduced the <a href="http://en.blog.wordpress.com/2006/10/24/domain-mapping-registration/">feature</a> almost a year ago. Donncha, for those who don&#8217;t know, is Automattic&#8217;s primary (translation: only) WPMU developer and is amazing at rolling features from the WordPress standalone and WordPress.com into the WPMU code base.<span id="more-1548"></span></p>
<p>So how good is this new plugin? It&#8217;s damn good. It simplifies a <a href="http://bui4ever.com/web-itecture/wordpress_mu_with_domain_mapping/">process</a> that used to take no less than 30+ steps to accomplish! The plugin does not render the XML-RPC useless unlike the old hack did! It was definitely not plug-n-play, or even pretty for that matter. So here&#8217;s a step-by-step setup for those who don&#8217;t quite know how to use the new plugin.</p>
<h3>How Do I Install The Domain Mapping Plugin?</h3>
<ol>
<li>Login into the domain name&#8217;s control panel (this is different than your website&#8217;s cpanel) and change the DNS to reflect your name servers of our server. In my case, it would be
<pre>NS1.bui4ever.com
NS2.bui4ever.com</pre>
<p>Please note that if this is an existing domain, it may take 24-72 hours for the DNS to propagate. If it&#8217;s a new domain name that you just purchased, it will happen very quickly.</li>
<li>Download the Domain Mapping plugin from the <a href="http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/">WordPress Plugins Directory</a>.</li>
<li>Unzip the file and upload the <em>sunrise.php</em> file to the <strong>/wp-content/</strong> folder. Copy <em>domain_mapping.php</em> into the <em>/wp-content/mu-plugins/</em> folder.</li>
<li>Open your wp-config.php file and look for
<pre>// uncomment this to enable wp-content/sunrise.php support
;define( 'SUNRISE', 'on' );</pre>
<p>and remove the &#8220;;&#8221; at the very beginning of define to uncomment the code. If you do not see the line of code in your wp-config.php, it&#8217;s OK, just write it in right under</p>
<pre>define ('WPLANG','');</pre>
<p>and save it.</li>
<li>Please note, you have to have Site Admin privileges to use this plugin. Now in most cases, it makes no sense to domain map a domain.tld blog (your main blog) unless you want to change the domain name. The beauty of this plugin is that if you domain map a domain.tld blog, it will redirect traffic automatically with the new mapped domain name in the URL. To domain map an already created (or a domain.tld blog), go to your <em>Dashboard</em> of the blog that you want to domain map (don&#8217;t visit the domain.tld when you are intending to map subdomain.domain.tld), select <em>Tools</em>, and select <em>Domain Mapping</em>.</li>
<li>Where it says <em>Server IP Address</em>, you want to enter your the IP address of your server. You can find this out by opening a command prompt (Windows) or a terminal (Mac &amp; Linux) and typing
<pre>ping bui4ever.com</pre>
<p>That will produce the IP address. Enter that IP address and click Save. Under Add new domain, put in the domain name that you wish to be mapped to this blog. Click Add. (If you read the notes underneath the Add new domain, you&#8217;ll see that you can do what CNN does with their blogs like the Political Ticker. By using CNAME, WordPress.com is able to host http://politicalticker.blogs.cnn.com/ and CNN would host CNN.com. If you want to do something like that, login in to your domain name that you want to create a virtual subdomain (physical subdomains would be created in your CPANEL which would result in a physical directory on your server whereas a virtual subdomain is merely an aliases) at GoDaddy, Yahoo, or wherever your domain name registar is. I use GoDaddy, so your steps may vary, but I go to my <em>Domain Manager</em>, selct the domain name I wish to add a CNAME to (let&#8217;s say in this case, BuiPhotography.com) and click on it to edit. Inside in the middle upper column, under <em>Total DNS</em>, I click <em>Total DNS Control and MX Records</em>. Under <em>CNAMES (Aliases)</em>, I click Add <em>New CNAME Record</em>. Under <em>Enter Alias Name</em>, I put blog in the field because that&#8217;s the new virtual subdomain I wish to create. Under <em>Points To Host Name:</em>, I put in the server IP address of my server that hosts the WPMU installation where my blog resides. Leave TTL to an hour. It may take anywhere from 5 minutes to 3 days to resolve before you can use the newly created virtual subdomain. Once it does resolve, you need to login into your CPANEL and park the subdomain (blog.buiphotography.com). Once parked, now login into your blog you wish to domain map (http://buiphotography.bui4ever.com) and go to <em>Tools</em> &gt; <em>Domain Mapping</em> and enter in blog.buiphotography.com and it should start working! Cool huh?</li>
<li>After you save, you will notice that the new URL is resolving with the new domain mapping meaning that subdomain.domain.tld should now resolve as domain.tld and if you try to visit subdomain.domain.tld, it should automatically rewrite it as domain.tld.</li>
<li>If you wish to undo the process, log back into the <em>Dashboard</em> &gt; <em>Manage</em> &gt; <em>Domain Mapping</em> and delete the entry.</li>
</ol>
<p>Absolutely amazing.</p>
<p><strong>[UPDATE: So one of the major things I noticed is that with the Domain Mapping plugin, you can no longer create subdomain blogs of mapped domains. With Dr. Mike's domain mapping method, a newly mapped domain had the ability to create subdomain.domain.tld just like the main site. For some people, this could be a drawback and for others, it doesn't matter, but it's worth noting.]</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2008/08/13/domain-mapping-for-wpmu-that-makes-sense/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

