<?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>A Leased Line to the Collective Unconscious &#187; plesk</title> <atom:link href="http://www.chichira.com/tag/plesk/feed/" rel="self" type="application/rss+xml" /><link>http://www.chichira.com</link> <description>random scribblings from the other end of the wire</description> <lastBuildDate>Thu, 03 Nov 2011 11:09:38 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>WordPress multi-user on PLESK (howto)</title><link>http://www.chichira.com/2009/11/04/wordpress-multi-user-on-plesk-howto/</link> <comments>http://www.chichira.com/2009/11/04/wordpress-multi-user-on-plesk-howto/#comments</comments> <pubDate>Wed, 04 Nov 2009 12:07:44 +0000</pubDate> <dc:creator>RobinLayfield</dc:creator> <category><![CDATA[geek stuff]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[multi-user]]></category> <category><![CDATA[plesk]]></category> <category><![CDATA[wordpress]]></category> <guid
isPermaLink="false">http://www.chichira.com/?p=159</guid> <description><![CDATA[]]></description> <content:encoded><![CDATA[<p>I&#8217;ve recently been tasked with setting up a WordPress Multi-User (WordPress Mu) instance running on a PLESK based web-server. For the most part this is fairly straightforward, however WordPress Multi-User likes to let users setup blogs as subdomains of the main site, for example, the blog for &#8220;RoadRunner&#8221; would be viewed by visiting</p><p>roadrunner.example.com</p><p>This presents a problem for PLESK as it manages Virtual Hosting (vhosts) very carefully and it will treat this as an entirely separate domain. The way to solve it involves 2 techniques: setting up a wildcard DNS entry and adding in a special configuration file to the PLESK domain. Here&#8217;s how to do it:</p><p><strong>Wildcard DNS entry<br
/> </strong></p><ul><li>go to your PLESK control panel</li><li>select your domain</li><li>click on the DNS settings icon</li><li><p><div
id="attachment_160" class="wp-caption alignnone" style="width: 148px"><img
class="size-full wp-image-160" title="PLESK DNS Settings" src="http://www.chichira.com/wp-content/uploads//Screen-shot-2009-11-04-at-11.54.17.png" alt="PLESK DNS Settings" width="138" height="54" /><p
class="wp-caption-text">PLESK DNS Settings</p></div></li><li>Now create a new wildcard entry with the following details:<br
/> Record Type: CNAME<br
/> Domain name: *  (the rest of the domain is written outside the textbox eg. .example.com)<br
/> Canonical name: example.com</li><li>Click OK</li><li>When you make a change to the DNS, PLESK won&#8217;t actually apply it until you hit the UPDATE button, this is sometimes obscured off to screen right</li></ul><p><strong>VHOST config<br
/> </strong>The next part involves having root access to the web server. If you control the whole PLESK domain, this is possible, however you may have to make a technical request if you don&#8217;t</p><ul><li>using <strong>Terminal</strong>, logon to the server with SSH (eg <strong>ssh root@example.com</strong>) enter your password and you should be presented with a command prompt</li><li>cd to the correct folder for your domain (usually /var/www/vhosts/example.com/)</li><li>cd into the <strong>conf</strong> folder</li><li>create a new file, using <strong>vi</strong><br
/> <em><strong>vi vhost.conf</strong></em></li><li>press <strong><em>i</em></strong> to go into insert mode and enter the following line:<br
/> <em><strong>ServerAlias *.example.com</strong></em><br
/> (where example.com is your domain)</li><li>hit <em><strong>ESC</strong></em> and then tap <em><strong>:wq!</strong></em> to save the file and quit<br
/> You may also be able to create this file using your favourite web editor &#8211; mine is <a
title="Coda by Panic" href="http://www.panic.com/coda/" target="_blank">Coda</a> from Panic software &#8211; and FTPing it up into the <strong>conf</strong> folder one level up from the root of the web site, however you will still need to be able to restart the PLESK instance to get it to read the new file.</li><li>in the command prompt, type the following command:<br
/> <em><strong>/usr/local/psa/admin/sbin/websrvmng -a -v</strong></em><br
/> this will restart PLESK</li></ul><p>That&#8217;s it. You should find that you can now create blogs and view them in their dedicated subdomains.<font
style="position: absolute;overflow: hidden;height: 0;width: 0"><a
href="http://ikoni.eu/">&#1055;&#1088;&#1072;&#1074;&#1086;&#1089;&#1083;&#1072;&#1074;&#1085;&#1080; &#1080;&#1082;&#1086;&#1085;&#1080;</a></font></p> ]]></content:encoded> <wfw:commentRss>http://www.chichira.com/2009/11/04/wordpress-multi-user-on-plesk-howto/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
