<?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>PC Hacks &#187; create server</title>
	<atom:link href="http://hackspc.com/tag/create-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackspc.com</link>
	<description></description>
	<lastBuildDate>Thu, 29 Jul 2010 15:23:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Home HTTP Server &#8211; How to create one</title>
		<link>http://hackspc.com/home-http-server-how-to-create-one/</link>
		<comments>http://hackspc.com/home-http-server-how-to-create-one/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 16:00:16 +0000</pubDate>
		<dc:creator>Ivan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[create server]]></category>

		<guid isPermaLink="false">http://hackspc.com/?p=1165</guid>
		<description><![CDATA[In this tutorial we will see how to create an HTTP server. A web server is software installed on a computer that allows other computers to access specific files on that computer/server. There are many reasons to create your own home servers. For example: file sharing,  so you can download  files from  [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will see how to create an HTTP server. A web server is software installed on a computer that allows other computers to access specific files on that computer/server. There are many reasons to create your own home servers. For example: file sharing,  so you can download  files from  your home computer from anywhere or you can create  a web site on own server etc. Simply said It works like  this; You choose   a directory on your computer , in that directory add folders, files like music,video and etc. When you put the IP address of your computer the in web browser you can see  all the files  from that folder and you can download those files. Let&#8217;s now create a server(HTTP server!) using Apache(a server client):</p>
<p><span id="more-1165"></span></p>
<p><?php bsa_zone('b851b19940ac5d435c12cae3d4fa3f0'); ?></p>
<p>1. You must have:</p>
<ul>
<li>Broadband internet connection always on</li>
<li>Windows on your computer</li>
</ul>
<p>2. Create a folder on your disc , in this example I created a folder on  E:\my server<br />
3. Download <a href="http://httpd.apache.org/download.cgi">apache_2.2.10-win32-x86-no_ssl.msi</a> and install it, set parameters( for localhost type something like a  myserver.com(doesn&#8217;t really matter), also type your email address in field &#8220;Administrator@ Email Address&#8221; ) as shown below, choose where you want to install it.</p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/install-apache-11.png"><img class="alignnone size-full wp-image-1238" title="install-apache-11" src="http://hackspc.com/wp-content/uploads/2008/11/install-apache-11.png" alt="" width="500" height="377" /></a></p>
<p><center>Enter email address where you want to receive tutorials when we post them! It&#8217;s free!</p>
<form style="border:1px;padding:3px;text-align:center;" action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2464694', 'popupwindow', 'scrollbars=yes,width=500,height=480');return true">
<input type="text" style="width:160px" name="email"/>
<input type="hidden" value="http://feeds.feedburner.com/~e?ffid=2464694" name="url"/>
<input type="hidden" value="PC Hacks" name="title"/>
<input type="hidden" name="loc" value="en_US"/>
<input type="submit" value="Enter Your Email" style="width:120px" />
</form>
<p></center></p>
<p>4..When you install Apache , go to directory where you installed it (p.e.  &#8220;C:\Program Files\Apache Software Foundation\Apache2.2\conf&#8221;)  , here you will find a httpd file.<br />
Open that file  with notepad.</p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/conf.png"><img class="alignnone size-full wp-image-1239" title="conf" src="http://hackspc.com/wp-content/uploads/2008/11/conf.png" alt="" width="500" height="442" /></a></p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/open-with.png"><img class="alignnone size-full wp-image-1240" title="open-with" src="http://hackspc.com/wp-content/uploads/2008/11/open-with.png" alt="" width="396" height="469" /></a></p>
<p>After this will appear notepad with long  and  complicated code, don´t worry, you must change just 3 things.</p>
<p>5. In notepad file find <strong> #DocumentRoot &#8220;C:/Program Files/Apache Group/Apache2/htdocs&#8221;</strong> and replace with <strong>#DocumentRoot &#8220;E:\my server&#8221;</strong>. Also find <strong> #</strong>&lt;Directory  &#8220;C:/Program Files/Apache Group/Apache2/htdocs&#8221; and replace with &lt;Directory  &#8220;E:\my server&#8221;.  E:\my server is folder where you put files which will appear on your server. In this example I created that folder on local disc E:. You can create your folder in any other place,  but then type that path here. Find #<strong>AllowOverride None</strong> and change to <strong>AllowOverride All</strong>.</p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/httpd-notepad.png"><img class="size-full wp-image-1241 alignnone" title="httpd-notepad" src="http://hackspc.com/wp-content/uploads/2008/11/httpd-notepad.png" alt="Change selected code" width="500" height="552" /></a></p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/33.gif"><br />
</a></p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/34.gif"><br />
</a></p>
<p>After this,  save file like httpd.conf.</p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/htp.png"><img class="alignnone size-full wp-image-1235" title="htp" src="http://hackspc.com/wp-content/uploads/2008/11/htp.png" alt="" width="500" height="399" /></a></p>
<p>6. Type in web addresses http://localhost/ or your IP Address, you should see  something like  this</p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/index-of-mozilla-firefox.png"><img class="alignnone size-full wp-image-1231" title="index-of-mozilla-firefox" src="http://hackspc.com/wp-content/uploads/2008/11/index-of-mozilla-firefox.png" alt="" width="500" height="382" /></a></p>
<p><a href="http://hackspc.com/wp-content/uploads/2008/11/movie.png"><img class="alignnone size-full wp-image-1233" title="movie" src="http://hackspc.com/wp-content/uploads/2008/11/movie.png" alt="" width="500" height="461" /></a></p>
<p>Every files  you put in folder , which we created in step 2 , will be shown on http://localhost/</p>
<p>7. If you want access own server from other computers. You must  forward a port in the router we’re using. The port we need to forward is port number 80. Why? Because by default it’s the port used for HTTP. Port forwarding actually means opening a tunnel through the router so that the router wouldn’t reject the connections that are trying to connect to it. How to port-forward? With every router it’s different. Here are the <a href="http://www.portforward.com/english/routers/port_forwarding/routerindex.htm">instructions</a> for every one of them. You must also turn off you firewall.</p>
<p>That is all. Enjoy your home server. If you have questions, post them in the comments area.</p>
<p>Note: Creating home server  is  risky,when  you open port, there is a possibility to have someone 	a breach in your computer .Before you start, make sure your computer has all the latest patches and security updates, and that you&#8217;ve done a thorough spyware and virus scan. This tutorial is only for advanced  users</p>
<p>If you want to learn more about creating server below you can download free ebook called <a href="http://free-stuffonline.tradepub.com/c/pubRD.mpl?sr=oc&#038;_t=oc:&#038;pc=w_sitb05">Run Your Own Web Server Using Linux &#038; Apache &#8211; Free 191 Page Preview</a></p>
<table border="1">
<tr>
<td align="center">
<a href="http://hackspc.com/wp-content/uploads/2009/12/ebook.jpg"><img src="http://hackspc.com/wp-content/uploads/2009/12/ebook.jpg" alt="" title="ebook" width="66" height="97" class="alignnone size-full wp-image-3923" /></a>
</td>
<td>
Whether you&#8217;re planning on running Linux at home, or on a leased Web Server, this book will walk you step-by-step through all of the common administration tasks, from managing traffic reporting to log-file rotation. This guide even includes step-by-step instructions on installing Linux (Fedora 4), Apache 2.0, PHP 5 and MySQL 4.1 on a home or office development server, so you can test all of your applications before rolling them out.
</td>
<td>
<a href="http://free-stuffonline.tradepub.com/c/pubRD.mpl?sr=oc&#038;_t=oc:&#038;pc=w_sitb05">DOWNLOAD</a>
</td>
</tr>
</table>
<p></br></p>
]]></content:encoded>
			<wfw:commentRss>http://hackspc.com/home-http-server-how-to-create-one/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
	</channel>
</rss>
