<?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>WPWebHost &#187; Andrea Rennick</title>
	<atom:link href="http://www.wpwebhost.com/author/andrea_r/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpwebhost.com</link>
	<description>WordPress Web Hosting</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:21:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using multiple Domains with WordPress MU</title>
		<link>http://www.wpwebhost.com/2009/09/using-multiple-domains-with-wordpress-mu/</link>
		<comments>http://www.wpwebhost.com/2009/09/using-multiple-domains-with-wordpress-mu/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 00:40:18 +0000</pubDate>
		<dc:creator>Andrea Rennick</dc:creator>
				<category><![CDATA[WordPress Resources]]></category>

		<guid isPermaLink="false">http://wpwebhost.com/?p=641</guid>
		<description><![CDATA[By default in WordPress MU, blogs can be username.yourdomain.com or yourdomain.com/username/. But what if you want select blogs to have their own domain? It's actually easier than you think.]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.wpwebhost.com%2F2009%2F09%2Fusing-multiple-domains-with-wordpress-mu%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.wpwebhost.com/2009/09/using-multiple-domains-with-wordpress-mu/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.wpwebhost.com/2009/09/using-multiple-domains-with-wordpress-mu/"  data-text="Using multiple Domains with WordPress MU" data-count="horizontal">Tweet</a>
			</div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://www.wpwebhost.com/2009/09/using-multiple-domains-with-wordpress-mu/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>By default in WordPress MU, blogs can be username.yourdomain.com or yourdomain.com/username/. But what if you want select blogs to have their own domain? It&#8217;s actually easier than you think.</p>
<p>Overview:<br />
- install a domain mapping plugin<br />
- park a domain<br />
- map a blog to a domain</p>
<p>First, get the <a href="http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/" target="top">WordPress MU Domain Mapping plugin</a>. NOTE: this domain mapping plugin only works with subdomain installs.</p>
<p>You can download it from inside WordPress MU using the plugin installer, but it will have to be moved from the plugins folder. In WPMU, there is another plugin folder called mu-plugins. This is for mu-specific plugins that will be run all the time. Plugin in this folder do not need to be activated and they will not show up in the Plugins list in the admin area. </p>
<p>Place the domain-mapping.php file in the mu-plugins folder.</p>
<p>There&#8217;s another file included called sunrise.php. Place this in the wp-content folder. </p>
<p>The file gets run before most of WPMU and handles the domain requests. In order for it to be recognized, we now have to edit the wp-config.php file.</p>
<p>In your Cpanel, go to the File Manager, and find wp-config.php in the public_html folder. Click on the filename, and then click on the Edit File option on the right hand side.</p>
<p>Most of the way down the file, under the language options, will be a line that is commented out, meaning it won&#8217;t run.<br />
<em>//define( &#8216;SUNRISE&#8217;, &#8216;on&#8217; );</em></p>
<p>The two slashes (//) at the beginning of the line are what we need to remove.<br />
<em>define( &#8216;SUNRISE&#8217;, &#8216;on&#8217; );</em></p>
<p>Save your changes. If you get an error, it will be because this file is created by the server on install, so you may not have permissions. Just ask support to make this change for you.</p>
<p>Before we map our domain to a blog, let&#8217;s set up our second domain so it knows where to go.</p>
<p>Login to your domain registrar, and change domain2.com&#8217;s nameservers to the same nameservers as your WPMU account. It will be something like ns102.wpwebhost.com &amp; ns103.wpwebhost.com.</p>
<p>Now login to your control panel for your WPMU web account. In the main cPanel menu, scroll down to the Domains box. Click the “park a domain” icon. </p>
<p><img src="http://cdn.wpwebhost.com/wp-content/uploads/2009/08/parking.png" alt="parking" width="480" height="314" class="alignnone size-full wp-image-642" /></p>
<p>In the box, type in domain2.com, where domain2 is the domain you want to map. It should come back with a success. If not, you may have to wait a few minutes for the nameserver change to catch up.</p>
<p>Finally, we are almost at the best part. Login to the backend of the blog that you want to change the domain of. </p>
<p> (Using Donncha&#8217;s plugin, if you map a domain from the admin area of the main blog, you will accidentally change the main blog&#8217;s domain. This menu option is also available to the admin of the blog, not just Site Admins.)</p>
<p>Look under the Tools menu for the Domain Mapping sub-menu. It&#8217;s pretty straightforward.</p>
<p><img src="http://cdn.wpwebhost.com/wp-content/uploads/2009/08/DomainMapping.jpg" alt="DomainMapping" width="460" height="365" class="alignnone size-full wp-image-643" /></p>
<p>First, fill in the IP address of your site. You, as a site admin, will only have to do this once. We don&#8217;t have to worry about the rest of the instructions, because when we parked our domain on top of our WPMU install, that took care of it.</p>
<p>Fill in the domain name (domain2.com) and save. The screen will refresh and show the domain name as active on this blog.</p>
<p>Since we are still on the subdomain, visit domain2.com to confirm that everything is working as it should. Now any attempts to visit the original subdomain will be redirected to domain2.com. You can continue these steps for each domain you would like mapped to a corresponding sub-blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpwebhost.com/2009/09/using-multiple-domains-with-wordpress-mu/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 754/846 objects using disk: basic
Content Delivery Network via cdn.wpwebhost.com

Served from: www.wpwebhost.com @ 2012-02-04 11:32:52 -->
