<?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>NuGiE Go NgeBloG &#187; Local Server</title>
	<atom:link href="http://www.nugie.web.id/tag/local-server/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nugie.web.id</link>
	<description>Informasi Bisnis dan Internet</description>
	<lastBuildDate>Mon, 14 Nov 2011 15:25:43 +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>How To Replace Localhost With Own Domain In Local Server</title>
		<link>http://www.nugie.web.id/2009/04/how-to-replace-localhost-with-own-domain-in-local-server.html</link>
		<comments>http://www.nugie.web.id/2009/04/how-to-replace-localhost-with-own-domain-in-local-server.html#comments</comments>
		<pubDate>Wed, 01 Apr 2009 05:11:30 +0000</pubDate>
		<dc:creator>nugie</dc:creator>
				<category><![CDATA[Tips & Trick]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[Host]]></category>
		<category><![CDATA[Local Server]]></category>

		<guid isPermaLink="false">http://www.nugie.web.id/?p=161</guid>
		<description><![CDATA[Before I start this tips and trick, authors need to explain the means used in this exercise. In this exercise the author Using Windows XP and XAMPP Most people run the files on their website using the localhost or http://localhost http://127.0.0.1. Maybe some of you already know that localhost can be replaced with your domain [...]]]></description>
			<content:encoded><![CDATA[<p>Before I start this tips and trick, authors need to explain the means used in this exercise.</p>
<p><span style="text-decoration: underline;"><strong>In this exercise the author Using Windows XP and XAMPP</strong></span></p>
<p>Most people run the files on their website using the localhost or http://localhost http://127.0.0.1. Maybe some of you already know that localhost can be replaced with your domain name (http://yourdomain.com) only by adding these lines to the file 127.0.0.1 yourdomain.com hosts that are in the folder <em>C:\WINDOWS\system32\drivers\etc</em>, then you can run the domainname as you see fit.</p>
<p>Example of writing:</p>
<p>127.0.0.1   localhost<br />
127.0.0.1   yourdomain.com</p>
<p>Here the author will give a few tips how to run http://localhost and http://yourdomain.com with a different web page with the help of VirtualHost. So you can manage all, or to create a virtual website (backup site) on Your Computer.<span id="more-161"></span></p>
<h2><span style="text-decoration: underline;"><strong>Now Let&#8217;s Get Rock:-P </strong></span></h2>
<p><strong>First Step </strong></p>
<p>Set the file folder of your website for a Domain in the folder &#8220;<em>C:\xampp\htdocs</em>&#8221; or &#8220;<em>D:  \WEB\www</em>&#8221; switch if you have data in the D Drive.</p>
<p><strong>Illustration </strong><br />
For example you have the joomla and wordpress site with each domain name <strong>http://myjoomlasite.com</strong> <strong>http://mywordpress.com</strong> and then create a folder in <strong>C:\xampp\htdocs\myjoomlasite.com</strong> with the name and <strong>mywordpress.com</strong></p>
<blockquote><p>Note:</p>
<p>Each script joomla and wordpress already myjoomlasite.com and in folder mywordpress.com.The second step</p></blockquote>
<p>Now open the host file in the folder<strong> C:\WINDOWS\system32\drivers\etc</strong> and add 127.0.0.1 myjoomlasite.com and 127.0.0.1 mywordpress.com right under 127.0.0.1 localhost.</p>
<p>See examples written:<br />
127.0.0.1 localhost<br />
127.0.0.1 myjoomlasite.com<br />
127.0.0.1 mywordpress.com</p>
<p><strong>Step three </strong><br />
Activate VirtualHost for each domain, I open the file httpd-vhosts.conf in the folder <strong>C:\xampp\apache\conf\extra</strong> and then on the last line add:</p>
<p>NameVirtualHost localhost:80</p>
<p>&lt;VirtualHost localhost:80&gt;</p>
<p>ServerAdmin webmaster@localhost</p>
<p>DocumentRoot &#8220;C:/xampp/htdocs&#8221;</p>
<p>ServerName localhost</p>
<p>&lt;/VirtualHost&gt;</p>
<p>NameVirtualHost myjoomlasite.com:80</p>
<p>&lt;VirtualHost myjoomlasite.com:80&gt;</p>
<p>ServerAdmin webmaster@myjoomlasite.com</p>
<p>DocumentRoot &#8220;C:/xampp/htdocs/myjoomlasite.com&#8221;</p>
<p>ServerName myjoomlasite.com</p>
<p>&lt;/VirtualHost&gt;</p>
<p>NameVirtualHost mywordpress.com:80</p>
<p>&lt;VirtualHost mywordpress.com:80&gt;</p>
<p>ServerAdmin webmaster@mywordpress.com</p>
<p>DocumentRoot &#8220;C:/xampp/htdocs/mywordpress.com&#8221;</p>
<p>ServerName mywordpress.com</p>
<p>&lt;/VirtualHost&gt;</p>
<p><span style="text-decoration: underline;"><strong>After that you restart Apache (Start&gt;&gt; Settings&gt;&gt; Control Panel&gt;&gt; Administrative Tools&gt;&gt; Services)</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nugie.web.id/2009/04/how-to-replace-localhost-with-own-domain-in-local-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

