<?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>Design and Chocolate &#187; install</title>
	<atom:link href="http://designandchocolate.com/tag/install/feed" rel="self" type="application/rss+xml" />
	<link>http://designandchocolate.com</link>
	<description>Design and Chocolate, 125g of chocolate and 2 cups of design</description>
	<lastBuildDate>Sun, 17 Jan 2010 13:10:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing WordPress Locally and Migrating to a Production Server Hassle-Free</title>
		<link>http://designandchocolate.com/installing-wordpress-locally-and-migrating-to-a-production-server-hassle-free.html?utm_source=subscriber&amp;utm_medium=rss&amp;utm_campaign=rss</link>
		<comments>http://designandchocolate.com/installing-wordpress-locally-and-migrating-to-a-production-server-hassle-free.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 14:48:17 +0000</pubDate>
		<dc:creator>Luis Neng</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[vhosts]]></category>

		<guid isPermaLink="false">http://www.designandchocolate.com/?p=214</guid>
		<description><![CDATA[
Nick La at webdesignerwall wrote a great article about how to install WordPress locally.
I&#8217;ve been using that solution for a long time with some extra steps on it mainly for migrating to a production server without any hassles after your design and development work is done.
Emil Milanov from www.milanogw.net sent me an e-mail asking about [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-223" title="moving" src="http://www.designandchocolate.com/wp-content/uploads/2008/11/moving-425x300.jpg" alt="" width="425" height="300" /></p>
<p><a href="http://www.webdesignerwall.com" target="_blank">Nick La at webdesignerwall</a> wrote a great article about <a href="http://www.webdesignerwall.com/tutorials/installing-wordpress-locally/" target="_blank">how to install WordPress locally</a>.<br />
I&#8217;ve been using that solution for a long time with some extra steps on it mainly for migrating to a production server without any hassles after your design and development work is done.</p>
<p><a href="http://www.milanogw.net" target="_blank">Emil Milanov from www.milanogw.net</a> sent me an e-mail asking about my solution, so I decided to write this article.</p>
<p><span id="more-214"></span></p>
<p>The solution is pretty simple, first of all we need to create your project directories.<br />
I&#8217;ll use the www.designandchocolate.com as an example.<br />
We need to create a directory www.designandchocolate.com in C:\xampp\htdocs and put the <a href="http://www.wordpress.org" target="_blank">WordPress </a>installation files there.</p>
<p>Next step we need to configure the vhosts of apache. The configuration file of my setup is located in: C:\xampp\apache\conf\extra\httpd-vhosts.conf</p>
<p>Open it with any text editor and uncomment the following line:</p>
<p>(&#8230;)<br />
NameVirtualHost *:80<br />
(&#8230;)</p>
<p>add the following lines at the end:</p>
<p>&lt;VirtualHost *:80&gt;<br />
DocumentRoot &#8220;C:/xampp/htdocs/&#8221;<br />
ServerName localhost<br />
&lt;/VirtualHost&gt;</p>
<p>&lt;VirtualHost *:80&gt;<br />
DocumentRoot &#8220;C:/xampp/htdocs/www.designandchocolate.com/&#8221;<br />
ServerName www.designandchocolate.com</p>
<p>&lt;Directory &#8220;C:/xampp/htdocs/www.designandchocolate.com&#8221;&gt;<br />
Options Indexes FollowSymLinks<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p>
<p>After editing the file, restart apache with the <a href="http://www.apachefriends.org/en/xampp.html" target="_blank">XAMPP</a> control panel.</p>
<p>The last step we have to edit the <a href="http://en.wikipedia.org/wiki/Hosts_file" target="_blank">hosts file</a>. The hosts file is located at:<br />
C:\Windows\System32\drivers\etc (You need administrative access to edit this file)</p>
<p>At the end of the file add the following line:<br />
127.0.0.1	www.designandchocolate.com</p>
<p>After all the steps above we should be able to test our Wordpress installation by typing www.designandchocolate.com in any browser.</p>
<p>Remember that we need to comment the line we added at the hosts file to be able to see the original website again. For commenting a line in hosts file, we just need to add # at the beginning, e.g.:<br />
#127.0.0.1	www.designandchocolate.com</p>
<p>You might want to know how it works, basically when you type any domain name in your address bar, the system will query the <a href="http://en.wikipedia.org/wiki/Dns_server" target="_blank">DNS server</a> the IP Address where the domain is pointed.<br />
Your system hosts file have more priority than the DNS server, so what your system will do is query the hosts file first and if can&#8217;t find anything then query the DNS server.</p>
]]></content:encoded>
			<wfw:commentRss>http://designandchocolate.com/installing-wordpress-locally-and-migrating-to-a-production-server-hassle-free.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

