<?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; domain mapping</title>
	<atom:link href="http://richbui.com/tag/domain-mapping/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>Migrated To WordPress MU 2.7</title>
		<link>http://richbui.com/2009/02/01/migrated-to-wordpress-mu-27/</link>
		<comments>http://richbui.com/2009/02/01/migrated-to-wordpress-mu-27/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 18:49:16 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Brian's Threaded Comments]]></category>
		<category><![CDATA[domain mapping]]></category>
		<category><![CDATA[Donncha O Caoimh]]></category>
		<category><![CDATA[Happy Cog Studios]]></category>
		<category><![CDATA[Lester Chan]]></category>
		<category><![CDATA[Viper007Bond]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WP Comment Remix]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=2482</guid>
		<description><![CDATA[Thanks to Donncha&#8217;s ever amazing work, I&#8217;ve finally upgraded my site from WordPress MU 2.6.5 to WordPress MU (WPMU) 2.7. There were some hiccups during the initial WPMU 2.7 beta upgrade, so I ended up wiping all the WordPress files except for my config file (wp-config.php) and the contents of blogs.dir inside the wp-content folder [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://ocaoimh.ie/">Donncha&#8217;s</a> ever amazing work, I&#8217;ve finally upgraded my site from WordPress MU 2.6.5 to WordPress MU (WPMU) 2.7. There were some hiccups during the initial <a href="http://ocaoimh.ie/2009/01/22/wordpress-mu-27-beta/">WPMU 2.7 beta upgrade</a>, so I ended up wiping all the WordPress files <strong>except</strong> for my config file (wp-config.php) and the contents of blogs.dir inside the wp-content folder and re-uploading all the files from the <a href="http://ocaoimh.ie/2009/01/28/wordpress-mu-27/">stable release WPMU 2.7</a>. So for those who are having a problem with their WPMU installation after an upgrade, you could always delete everything but the wp-config.php file and blogs.dir folder and re-upload all the files fresh. I&#8217;ve found doing a drag-and-drop via FTP of new files on top of old files has never failed to produce errors. Another good option might be <a href="http://svn.automattic.com/wordpress-mu/trunk/">Subversion</a>.</p>
<p>So how is the new WordPress MU 2.7, the new user interface, and functionality? Well so far, it&#8217;s excellent. Read on to hear more about my thoughts on the new WPMU 2.7.<span id="more-2482"></span></p>
<h3>New Changes</h3>
<p><strong>Completely new user interface back-end.</strong> With the introduction of WordPress 2.5/WPMU 2.5, the administration user interface was quite different. It was the &#8220;prettiest&#8221; to date, easier to use, <a href="http://bobulate.com/2007/07/22/how-not-to-get-noticed/">designed</a> in some part by <a href="http://www.zeldman.com/2008/03/29/wordpress-25-unleashed/">Happy Cog Studios</a> (<a href="http://www.happycog.com/design/wordpress/">more background here</a>), but cumbersome to navigate when trying close comments, change the post date/time, or change authors. Now with the new WP/WPMU 2.7, the admin back-end has changed yet again; for the better this time. What the 2.5 admin back-end did was to refocus on people who write rather than developers as a majority of WordPress users are not always developers. The 2.7 admin back-end does a very good job of organizing all the important &#8220;writing&#8221; tools within reach and in sensible locations. I find people who use the new 2.7 back-end spend less time looking for things such as how to change a published post back to a draft, future posting, and so forth. Things are much easier to find and use now, although it will take a bit of time getting use to Design is now Appearance and a few other things have been moved around.</p>
<p><strong>Viper007Bond&#8217;s Admin Bar Plugin.</strong> I&#8217;ve used Viper007Bond&#8217;s Admin Bar plugin (<a href="http://wordpress.org/extend/plugins/wordpress-admin-bar/">download from WordPress Plugin Directory</a>) for quite a while now and have it deployed on my office&#8217;s WPMU intranet to much rave reviews. I&#8217;m particularly excited to find that as of WPMU 2.7, it is now <a href="http://www.viper007bond.com/wordpress-plugins/wordpress-admin-bar/">included into the WP core</a>! Congrats Viper! The Admin Bar is great because it gives users a single point of access through drop down menus on the front-end to all of the back-end admin tasks such as posting, comment moderation, and so forth. User of WP 2.7 will still have to download and activate the Admin Bar as a plugin, whereas WPMU 2.7 users will have it built-in, but disabled on the front page by default. To turn it on for the front-end, login and go to Settings &gt; Admin Bar and under Show the admin menu bar, check the box for On the site. If it doesn&#8217;t appear on your front page, most likely the theme you are using is missing wp_head() and wp_footer() template tags (directions <a href="http://www.themelab.com/2008/04/22/5-quick-ways-to-fix-up-your-wordpress-theme/">here</a> and <a href="http://www.thewpmag.com/issue-1/make-a-theme-series-part-1-the-loop/">here</a>). Also if you are running WPMU pre-2.7, I highly suggest removing the Admin Bar plugin before upgrading or you will get the dreaded &#8220;already defined&#8221; php error.</p>
<p><strong>Comments: Reply, Threading, and Pagination</strong>. WP/WPMU 2.7 also opens up a host of new template tags, one of which is really exciting is the new functionality for comments. No longer is there a need to use plugins (you still could I guess) such as <a href="http://pressography.com/plugins/wp-comment-remix/">WP Comment Remix</a> (a great plugin BTW), <a href="http://meidell.dk/archives/2004/09/04/nested-comments/">Brian&#8217;s Threaded Comments</a>, and/or <a href="http://www.keyvan.net/code/paged-comments/">WordPress Paged Comments</a> as WP/WPMU 2.7 has all that functionality built-in. Although it&#8217;s worth noting that built-in WP/WPMU features such as these tend to be conversative and not have as many customization options so be expecting more plugins like Lester Chan&#8217;s <a href="http://lesterchan.net/wordpress/2008/11/04/wp-commentnavi-100-beta/comment-page-1/">WP-CommentNavi</a> that take the existing and expands it with more options. To take full advantage of the new comment system, you will have to make some changes to your theme(s). Directions on how to do that can be found at the <a href="http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display">WordPress Codex</a>. I look forward to incorporating these new features into my theme, just not sure when I&#8217;ll be able to do so.</p>
<p><strong>Automatic Plugin Upgrades, kind of.</strong> Another cool new feature of WP/WPMU 2.7 is the inclusion of searching for new plugins from the WP/WPMU back-end as opposed to visiting the <a href="http://wordpress.org/extend/plugins/">WordPress Plugin Directory</a>. You can also install or upgrade plugins found in the Plugin Directory directly to your WordPress install with the new One-click plugin install feature. I haven&#8217;t been able to get it properly working for reasons unknown at the moment, and continue to rely on an FTP program to install and upgrade my plugins. I do have it working on my office&#8217;s WPMU intranet though.</p>
<p><strong>Media Uploader Works With Flash 10.</strong> It was quite annoying when Adobe released Flash 10 and made some security changes that affected SWFUpload (<a href="http://swfupload.org/forum/generaldiscussion/551">read more here</a>) because it rendered the WordPress media flash uploader unusable in that when you pressed the Select Files, nothing would happen. Fortunately WordPress 2.7 fixes that issue and now we&#8217;re back in business!</p>
<p>There are a host of other features that I won&#8217;t spend time discussing, but if you are interested, you can read the entire <a href="http://codex.wordpress.org/Version_2.7">WP/WPMU 2.7 feature list</a> to see other new included features such as the Sticky Post feature.</p>
<h3>Conclusion</h3>
<p>WordPress MU 2.7 represents how far WPMU and WordPress have come. WordPress usage is growing and is being used by major outlets such as CNN, Time, Ford, and so forth for their blogging software (read the USAToday interview of WordPress co-creator and Automattic co-founder Matt Mullenweg <a href="http://www.usatoday.com/tech/news/2009-01-27-wordpress-creator-blog_N.htm?csp=34">here</a>).</p>
<p>With the new 2.7 administration panel and features, WordPress is demonstrating how Open Source can be a workable and thriving model.</p>
<p>As an aside, for those who are using Donncha&#8217;s wonderful <a href="http://ocaoimh.ie/2008/08/11/wordpress-mu-domain-mapping-01/">Domain Mapping plugin</a>, there is a new update that addresses one of the <a href="http://bui4ever.com/2008/10/problems-with-donnchas-domain-mapping-plugin/">biggest flaws</a> (link to the updated files in the comments). It&#8217;s worth noting that the problem still exist, but only affects those using the Flash Uploader. So the good news is that you can now finally upload images to a domain mapped subdomain, but the bad news is that it only works with the file browser uploader.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2009/02/01/migrated-to-wordpress-mu-27/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress MU Domain Mapping Plugin</title>
		<link>http://richbui.com/2008/08/12/wordpress-mu-domain-mapping-plugin/</link>
		<comments>http://richbui.com/2008/08/12/wordpress-mu-domain-mapping-plugin/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 17:24:26 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[domain mapping]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=1545</guid>
		<description><![CDATA[Looks like my WordPress MU Domain Mapping directions are now useless. Donncha has just released version 0.3 of his Domain Mapping plugin. This should make domain mapping sooo much easier and hopefully more efficient. Thank you Donncha!]]></description>
			<content:encoded><![CDATA[<p>Looks like my <a href="http://bui4ever.com/web-itecture/wordpress_mu_with_domain_mapping/">WordPress MU Domain Mapping directions</a> are now useless. <a href="http://ocaoimh.ie/2008/08/11/wordpress-mu-domain-mapping-01/">Donncha has just released version 0.3 of his Domain Mapping plugin</a>. This should make domain mapping sooo much easier and hopefully more efficient. Thank you Donncha!</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2008/08/12/wordpress-mu-domain-mapping-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress iPhone Native App</title>
		<link>http://richbui.com/2008/07/29/wordpress-iphone-native-app/</link>
		<comments>http://richbui.com/2008/07/29/wordpress-iphone-native-app/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 21:49:49 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[domain mapping]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone 3G]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[WPMU]]></category>
		<category><![CDATA[XML-RPC]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=692</guid>
		<description><![CDATA[The new WordPress iPhone Native App sadly does not work with WordPress MU if you use the domain mapping option. It only works for the main website. It won&#8217;t connect to any other domain mapped website. The problem has to do with the way we are doing domain mapping and how it affects XML-RPC.]]></description>
			<content:encoded><![CDATA[<p>The new <a href="http://iphone.wordpress.org/">WordPress iPhone Native App</a> sadly does not work with WordPress MU if you use the <a href="http://bui4ever.com/web-itecture/wordpress_mu_with_domain_mapping">domain mapping</a> option. It only works for the main website. It won&#8217;t connect to any other domain mapped website. The problem has to do with the way we are doing domain mapping and how it affects XML-RPC.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2008/07/29/wordpress-iphone-native-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress For iPhone Native Application</title>
		<link>http://richbui.com/2008/07/11/wordpress-for-iphone-native-application/</link>
		<comments>http://richbui.com/2008/07/11/wordpress-for-iphone-native-application/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 16:51:39 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Automattic]]></category>
		<category><![CDATA[domain mapping]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[SixApart]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[XML-RPC]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=501</guid>
		<description><![CDATA[When it was announced that SixApart was going to have a native application on the iPhone, I was hoping that Automattic would release something similar. Well there was no news, until yesterday. Automattic has released their native application that will allow WordPress.com and self hosted WordPress blogs to post via their iPhones. It looks amazing! [...]]]></description>
			<content:encoded><![CDATA[<p>When it was announced that <a href="http://www.marketwatch.com/news/story/six-apart-announces-typepad-application/story.aspx?guid=%7BF222273A-D6D1-401C-8A44-4E4A8B1ABEEE%7D&amp;dist=hppr">SixApart</a> was going to have a native application on the iPhone, I was hoping that Automattic would release something similar. Well there was no news, until yesterday. <a href="http://iphone.wordpress.net/2008/07/10/wordpress-for-iphone/">Automattic has released their native application</a> that will allow WordPress.com and self hosted WordPress blogs to post via their iPhones. It looks amazing!</p>
<p>For ever, the more savvy self hosted blog users could use the XML-RPC to do postings by email, which for the most part was fine, but had potential security issues such as if someone knew the email address to send emails to, they could post anything they wanted as there was no authentication other than just knowing the email address. Also when using WordPress MU and doing the <a href="http://bui4ever.com/web-itecture/wordpress_mu_with_domain_mapping">Domain Mapping</a> process, the XML-RPC is rendered useless. By having a native application such as this, posting and managing your blog is much more robust! One of the big issues I&#8217;ve had posting from iPhone&#8217;s Safari was the lack of the TinyMCE buttons and the fact that when in Visual post mode, you couldn&#8217;t type in the text area. On top of that, with the occasional crashes, it became quite frustrating. Thank god for the draft auto-save.</p>
<p>One of the coolest features I can see from the native application so far is the ability to use pictures either on the iPhone or taken by the iPhone in your posts. This will make for an interesting use for those who have photoblogs and further reinforces the power of live blogging in this day and age. Amazing. I&#8217;ll post my review once I get it loaded on my iPhone. Watch the video.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2008/07/11/wordpress-for-iphone-native-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Mu with Domain Mapping</title>
		<link>http://richbui.com/2007/06/12/wordpress_mu_with_domain_mapping/</link>
		<comments>http://richbui.com/2007/06/12/wordpress_mu_with_domain_mapping/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 18:26:05 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[domain mapping]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=246</guid>
		<description><![CDATA[Please note that as of August 11, 2008, Donncha has released a domain mapping plugin that makes this process easier at the cost of creating subdomains off the newly mapped domains. On the other hand, the XML-RPC continues to work. Introduction WordPress has been absolutely amazing. It has grown from merely being a blogging platform [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Please note that as of August 11, 2008, Donncha has<strong> released a <a href="http://bui4ever.com/2008/08/domain-mapping-for-wpmu-that-makes-sense/">domain mappin</a></strong><a href="http://bui4ever.com/2008/08/domain-mapping-for-wpmu-that-makes-sense/">g plugin</a> that makes this process easier at the cost of creating subdomains off the newly mapped domains. On the other hand, the XML-RPC continues to work.</strong></p>
<h3>Introduction</h3>
<p>WordPress has been absolutely amazing. It has grown from merely being a blogging platform to more of a CMS/blog platform now. With WordPress Mu (Multi-User), it takes WordPress to a whole new level by allowing for multiple instances of WordPress on one install with one database! The best example of WordPress Mu in use is <a href="http://wordpress.com">WordPress.com</a>.</p>
<p>A new feature that was introduced on WordPress.com is domain mapping. Currently when a user visits a WordPress Mu installed site (depending on if the install is subdomain or subdirectory), and signs up for a new blog, the url is http://subdomain.domain.tld/. What domain mapping allows is for a user with a registered domain name to park it on their site at http://subdomain.domain.tld/.</p>
<p>What is the advantage of being able to do this? Well for me, it&#8217;s quite advantageous. Since I run multiple WordPress sites, instead of having to download WordPress, upload it, configure it, etc., I can create a new subdomain blog on my main site and then use domain mapping to make the subdomain appear as it&#8217;s own domain site. This allows me to share the user tables, themes, plugins, etc. thereby saving space, have only one database to backup and so on.</p>
<p>Unfortunately there is no easy and quick way to do domain mapping with WordPress Mu (yet). There are a few threads on WordPress Mu&#8217;s support forum on how to do it, but I figured I&#8217;ll make a clear and precise directions on how to achieve domain mapping. Much of the directions I use are from <a href="http://mu.wordpress.org/forums/topic.php?id=3275&amp;replies=46">drmike&#8217;s thread at the WordPress Mu support forums</a>.</p>
<h3>Prerequisites</h3>
<p>Before you can use domain mapping on WordPress Mu, there are certain criteria that your WordPress install must meet.</p>
<ul>
<li>It must be a WordPress Mu install and not a WordPress install and it  has to be working correctly.</li>
<li>The WordPress Mu install must utilize SUBDOMAIN and not subdirectory feature.</li>
<li>You must already have a domain name registered that you wish to use.</li>
</ul>
<p>Please note that while it is not impossible to do domain mapping on hosted websites, it will be much more easy and worthwhile to have at least a virtual private server (VPS) or dedicated server, or you will have to contact your host each time you wish to add another domain to your WordPress Mu install. The instructions I present are based on a person with a VPS.</p>
<h3>Disclaimer</h3>
<p>I provide these directions for my own reference and for other people who are interested. Use all or any part of this guide at YOUR OWN RISK. I take no responsibility for what may happen by following this guide. Always remember to make backups of your database before making any drastic changes FIRST!!!</p>
<h3>Instructions</h3>
<ol>
<li>Login into your domain name registrar, and edit the nameservers to match your WordPress Mu domain nameservers. Most registrars will let you do this yourself, but in some rare cases, you may have to contact them. This process can take anywhere from 10 minutes (if it is a newly created domain name) to 24-48 hours to resolve correctly.</li>
<li>Login into you main site&#8217;s cpanel and select PARKED DOMAINS.<br />
<img src="http://bui4ever.com/images/domain-mapping/01.png" alt="Parked Domains" width="389" height="87" /></li>
<li>Under &#8220;New Domain Name:&#8221;, enter the registered domain name that you want to do domain mapping with minus &#8220;www&#8221; prefix. In my case, I want to domain map http://www.abunchofcars.com, so I enter abunchofcars.com into the field. Click &#8220;Add Domain!&#8221;<br />
<img src="http://bui4ever.com/images/domain-mapping/02.png" alt="" width="359" height="27" /></li>
<li>You should get something to this effect:
<pre><strong>Parked Domain Additions</strong>

Using nameservers with the following IPs: <em>2</em>16.246.58.57,216.246.58.58 Bind reconfiguring on vps using rndc

Created DNS entry for abunchofcars.com

abunchofcars.com was successfully parked on top of bui4ever.com</pre>
<p>If you get an error, it usually means that the nameservers have not resolved fully yet and you will have to wait a bit longer before continuing to this step.<br />
<img src="http://bui4ever.com/images/domain-mapping/03.png" alt="" width="536" height="123" /></li>
<li>Once the domain name has been parked, login into your web host manager (WHM), usually located at http://domain.tld/whm/.</li>
<li>Scroll down the left hand list until you find the category, &#8220;DNS Functions&#8221;.  Click on &#8220;Edit DNS Zone&#8221; and select the parked domain name and click &#8220;Edit&#8221;.<br />
<img src="http://bui4ever.com/images/domain-mapping/04.png" alt="" width="202" height="128" /></li>
<li>Inside you&#8217;ll find a bunch of things. What we are looking for is under <strong>Domain</strong> your parked domain name, <strong>TTL</strong> of 14400, <strong>Record Type</strong> of A and next to it an IP address. We want to copy that entire IP address.<br />
<img src="http://bui4ever.com/images/domain-mapping/06.png" alt="" /></li>
<li>Scroll all the way down to where you see &#8220;<strong>Add New Entries Below this Line&#8221;</strong>, we need to create a new entry.</li>
<li>This is what you should type in there: *, 14400, A, 216.246.58.46, obviously changing my information to your information.<br />
<img src="http://bui4ever.com/images/domain-mapping/07.png" alt="" width="593" height="29" /></li>
<li>Click &#8220;Go&#8221; and you should get a &#8220;Zone Modified!&#8221; message.<br />
<img src="http://bui4ever.com/images/domain-mapping/08.png" alt="" width="362" height="104" /></li>
<li>You will need to restart apache for this to take effect. If you have a VPS or dedicated server:
<pre>httpd restart</pre>
<p>in a command line should do the trick.</li>
<li>Now login as Admin to your WordPress Mu site.</li>
<li>Under &#8220;Site Admin&#8221; &gt; &#8220;Blogs&#8221; &gt; &#8220;Add Blog&#8221;, create a new blog naming it anything you want for now. Test to make it sure it works.</li>
<li>Once the new blog has been created, go back to &#8220;Site Admin&#8221; &gt; &#8220;Blogs&#8221;, find the newly created blog and select &#8220;Edit&#8221;.<br />
<img src="http://bui4ever.com/images/domain-mapping/09.png" alt="" width="503" height="227" /><img src="http://bui4ever.com/images/domain-mapping/10.png" alt="" width="340" height="32" /></li>
<li>There are four places we need to make changes at. Under <strong>URL</strong>, you will see http://abunchofcars.bui4ever.com/, change that to http://abunchofcars.com/. Look for <strong>Siteurl</strong>, <strong>Home</strong>, and <strong>Fileupload Url</strong> and make the same changes as you did with Url, but leaving the suffix of &#8220;files&#8221; at the end of the <strong>Fileupload Url</strong>. <strong>Please note that it is very important that if the address has a trailing slash, you also include the trailing slash.<br />
<img src="http://bui4ever.com/images/domain-mapping/11.png" alt="" /></strong><strong><img src="http://bui4ever.com/images/domain-mapping/12.png" alt="" /></strong><strong><img src="http://bui4ever.com/images/domain-mapping/13.png" alt="" width="393" height="32" /></strong><strong><img src="http://bui4ever.com/images/domain-mapping/14.png" alt="" width="448" height="32" /><br />
</strong></li>
<li>Click &#8220;Update Options&#8221;, once it&#8217;s done, you&#8217;ll be returned to &#8220;Blogs&#8221; and notice that the newly created blog no longer is in the list.</li>
<li>Before we can access the newly created blog, we need to make some changes in the MySQL database. Login to your CPANEL and PHPMYADMIN (I highly recommend you get the <a href="http://www.silpstream.com/blog/wp-phpmyadmin/">PHPMyAdmin plugin</a> so you don&#8217;t have to always login to CPANEL to access PHPMYADMIN).</li>
<li>Select the correct database from the drop down under &#8220;Database&#8221;.</li>
<li>On the left hand side, scroll down until you see &#8220;wp_blogs&#8221;. Click on it and it should open in the right hand side. Click on &#8220;Browse&#8221; in the menu.<br />
<img src="http://bui4ever.com/images/domain-mapping/15.png" alt="" width="210" height="27" /><img src="http://bui4ever.com/images/domain-mapping/16.png" alt="" width="268" height="208" /></li>
<li>Scroll down and you will see a list of all the blogs that have been registered. At the very end of the list, you should see abunchofcars.com under &#8220;Domain&#8221;. Click the pencil icon to edit that entry. <img src="http://bui4ever.com/images/domain-mapping/17.png" alt="" width="533" height="31" /></li>
<li>Once it finishes loading, we want to change &#8220;site_id&#8221;&#8216;s value to be the <span style="text-decoration: underline"><strong>same</strong></span> as &#8220;blog_id&#8221;. For me, abunchofcars.com&#8217;s blog_id is 25, so I change site_id 1 to 25, and click &#8220;Go&#8221;. What this does is remove bui4ever.com (site_id 1) as the &#8220;blog owner&#8221; and make abunchofcars.com its own blog owner. <strong>Also you should remember the blog_id, as you will need it for the next few steps.<br />
<img src="http://bui4ever.com/images/domain-mapping/18.png" alt="" width="671" height="126" /><br />
</strong></li>
<li>On the left hand side, scroll down until you see &#8220;wp_site&#8221;. Click on it and it should open in the right hand side. Click on &#8220;Browse&#8221; in the menu.<br />
<img src="http://bui4ever.com/images/domain-mapping/19.png" alt="" width="171" height="77" /></li>
<li>You should see one entry for your main blog. What we need to do is add an entry for abunchofcars.com. Click on &#8220;Insert&#8221; and we need to populate three values.<br />
<img src="http://bui4ever.com/images/domain-mapping/21.png" alt="" width="260" height="47" /></li>
<li>For &#8220;id&#8221;, we enter the blog_id, in my case, 25. For &#8220;domain&#8221;, we enter the domain address, so I enter abunchofcars.com. And finally for path, we just put a forward slash (/). Click &#8220;Go&#8221;.<br />
<img src="http://bui4ever.com/images/domain-mapping/22.png" alt="" width="585" height="125" /></li>
<li>So when you go back to wp_site and click &#8220;Browser&#8221;, you see your new entry.</li>
<li>On the left hand side, scroll down until you see &#8220;wp_sitemeta&#8221;. Click on it and it should open in the right hand side. Click on &#8220;Browse&#8221; in the menu.</li>
<li>We need to duplicate the contents of &#8220;meta_id&#8221; 6, the site_admins. Click on the pencil to edit it.<br />
<img src="http://bui4ever.com/images/domain-mapping/23.png" alt="" width="563" height="191" /></li>
<li>In the &#8220;meta_value&#8221; field, you will see a big box with an entry:
<pre>a:1:{i:0;s:5:"admin";}</pre>
<p>Copy in its entirety.</li>
<li>Click back on wp_sitemeta, and select &#8220;Browse&#8221;. Go to the very last entry, and make note of the &#8220;meta_id&#8221; number. Now click &#8220;Insert&#8221;.</li>
<li>We need to make entries now, under &#8220;meta_id&#8221;, enter the next consecutive from the number you made note of in Step 27. In my case, the last entry was 64, so I will be using 65. The &#8220;site_id&#8221; you use is from Step 19, so I will enter 25. The &#8220;meta_key&#8221; is site_admins. In the big field under &#8220;meta_value&#8221;, paste the weird string we copied in Step 26. Click &#8220;Go&#8221;.<br />
<img src="http://bui4ever.com/images/domain-mapping/24.png" alt="" width="479" height="179" /></li>
<li>We need to duplicate another entry, click wp_sitemeta and &#8220;Insert&#8221;. For &#8220;meta_id&#8221;, we need to use the next consecutive number. Under &#8220;site_id&#8221;, we use the same number from Step 19. For &#8220;meta_key&#8221;, enter site_name. In &#8220;meta_value&#8221;, enter in your parked domain address. In my case, I would enter abunchofcars.com. Click &#8220;Go&#8221;.<br />
<img src="http://bui4ever.com/images/domain-mapping/25.png" alt="" width="478" height="182" /></li>
<li>The final entry that needs to be duplicated is &#8220;illegal_names&#8221;. So go back to wp_sitemeta, and click &#8220;Insert&#8221;. For &#8220;meta_id&#8221;, it needs to be the next consecutive number from what was used in Step 29. For &#8220;site_id&#8221;, enter the site_id from Step 19. The &#8220;meta_key&#8221; is illegal_names and the &#8220;meta_value&#8221; entry is
<pre>a:7:{i:0;s:3:"www";i:1;s:3:"web";i:2;s:4:"root";i:3;s:5:"admin";i:4;s:4:"main";i:5;s:6:"invite";i:6;s:13:"administrator";}</pre>
</li>
<li>Now we should be good to go for testing. Open a web browser and enter in your parked domain address, I enter http://abunchofcars.com and you should see a newly created WordPress blog. If you don&#8217;t, a mistake was made somewhere.<img src="http://bui4ever.com/images/domain-mapping/26.png" alt="" width="602" height="348" /></li>
<li>The next step is test login. Try your admin login and you should get in fine. <strong>Please note, if you type http://abunchofcars.com/wp-admin it will redirect you to your main site&#8217;s site admin. It is very important that you include a trailing slash after wp-admin, so http://abunchofcars.com/wp-admin/. Hopefully this issue will be resolved in the near future.</strong></li>
<li>Now another cool feature of the domain mapping, is that you can also create subdomain blogs off of the newly mapped domain. I can create http://how-to.abunchofcars.com and users can also sign up for their own blogs as they do on the main site. Cool huh?<strong><br />
</strong></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2007/06/12/wordpress_mu_with_domain_mapping/feed/</wfw:commentRss>
		<slash:comments>192</slash:comments>
		</item>
	</channel>
</rss>

