Ever wanted to have a place where you could keep your files and access them anywhere you get an Internet connection? Say you wanted to have your music library available in case you wanted to give a song to one of your friends, or maybe you wanted to let your relatives download your entire library of vacation photos, or maybe you need a place to host programs you write or maps you make. How about a Web page? Ever wanted to have your own Web page? All of these can be accomplished with a home Web server...and more!

It's actually really simple to set up a Web server at home. I'm going to use this while I'm away at college to host game servers, have an offsite file backup, and share files with friends. Since the PC hosting the server will be at my house and I will be in my dorm room, obviously I can't just walk over and start changing system settings, so we'll need some kind of remote access.

Also, obviously, you'll need a dedicated PC, one you can leave running and leave connected at all times. What good is a server that goes down all the time? This PC doesn't have to be great, but remember, the more you run on it, the faster the PC needs to be to not lag (duh).

Step 1: Acquire a Dedicated PC

This step may be easy for some and hard for others. I already had a PC that I wasn't really using (it originally was my parents old PC, but then it died and I rebuilt it with cheap parts, but since I already had a PC I didn't really use it much).

System specs:

AMD Sempron 64 2600+ (overclocked to 1.85 GHz)
nVidia GeForce4 MX420 64MB (GPU really not important, servers don't need good video cards, even integrated is plenty)
60GB hard drive (IDE) (not that good for a server, but good enough, I didn't want to spend any money on this)
DVD and CD drive (you'll need at least a CD drive to install the OS, other than that, not necessary)
3 Ethernet cards (you'll need at least 1)

This system performs very well as a server, so anything over this would perform even better. This PC cost about $100 to rebuild (already had RAM, case, optical drives, and hard drive though) and that was late 2007 that I rebuilt it.
<p>how to accesss the files ?</p>
<p>I find it rather funny that after nearly 10 years people still are finding this super-outdated tutorial useful! The majority of the information here is still valid, but I would recommend installing using a USB flash drive rather than a burned CD in this day and age! I didn't mention X forwarding or XRDP as alternative remote access methods for GUI applications because I didn't know about them at the time, but I'd recommend checking them out, especially since this old way of enabling VNC isn't always supplied.</p>
<p>Any chance you would be willing to do an updated version of this tutorial?</p>
<p>Wow! It has been Ten years since 2008! I've gotten old...</p>
Ahh, the familiar hassles of those rewarding servers. I have made a server. (Or three) I only wish that I saw this guide first. Your style of writing makes the process easy to understand. Good work! (If you think an internet server is hard, just try making a Mine test server! =: L)<br>
<p>bro..snowdrop...i am getting confused in port forwarding...how to do it..can you please help me</p>
<p>Yo! If you wanna port forward a computer, go into your terminal (Either on Windows or Linux) and type in &quot;if config&quot;. Drop the quote marks. You should see an IP address that looks like this: The numbers are most likely different. Now, write down that IP and then go to your favorite web browser and type in the search bar &quot;What's my IP&quot;. This will show you your router's IP address. It will look something like this: Next, type in that last IP in the browser address bar. You should see a login screen. Assuming you have changed the login password and user name, go ahead and type it in. (Default user name and password is &quot;admin&quot; and the password is &quot;admin&quot; No quote marks.) Now once you are into the router's settings page, look aroung for &quot;Port Forwarding&quot; It may be under different names. When you have found it, go in and you should see an empty list. Type in your incoming port and outgoing port, then (Usually on the far left) type in the first IP that you wrote down. VIOLA! Done. However, there are a number of tutorials on the Internet if this doesn't work. Just look up &quot;How to port forward my server&quot; See ya!</p>
<p>awesome! </p>
<p>i dont know how to access my ftp server</p>
<p>I got a problem with installing 'gproftpd' getting:&quot;E: Couldn't find package gproftpd&quot; . The packet got renamed to 'gadmin-proftpd'</p>
<p>sudo apt-get install gadmin-proftpd</p>
<p>yaa same problemo with me - it turns out the package is now called gadmin-proftpd.</p><p>so type &quot;sudo apt-get install gadmin-proftpd&quot;</p>
<p>yaa same problemo with me - it turns out the package is now called gadmin-proftpd.</p><p>so type &quot;sudo apt-get install gadmin-proftpd&quot;</p>
<p>yaa same problemo with me - it turns out the package is now called gadmin-proftpd.</p><p>so type &quot;sudo apt-get install gadmin-proftpd&quot;</p>
<p>i am in the process of doing this and i hit the road block like a couple people. i keep getting the error connot find package for both proftp and the gadmin-ftp. i hope someone can help me with this.</p>
<p>sudo apt-get install gadmin-proftpd</p>
What about a dot onion?
<p>you need the tor browser for that</p>
<p>the package gproftpd is being renamed to gadmin-proftpd !!</p>
<p>omg, you saved me on this, i was about to give up on this since it wouldnt let me download it</p>
<p>thank alot for your explanation, i can try it after that i will give you the feedback</p>
<p>PPL I would suggest to use a newer version of a server tutorial, maybe I make one</p>
<p>will this work on any version of linux?</p>
<p>as he said, yes. I would suggest a newer version of this type of tutorial</p>
<p>How is the security of this ? Is this applicable until' now ? Can I host a website like this?</p>
<p>You will need to configure a dmz on your router and a good firewall. It should be fine with normal windows firewall if u going to use windows server</p>
<p>You can buff your security later with other things, not sure how secure it is by defuault.</p><p>And yes, it works for hosting your own website :)</p>
<p>hi how can i make hosting company with my pc can you help me please</p>
<p>How is the security of this ? Is this applicable until' now ? Can I host a website like this?</p>
<p>what do you mean &quot;put in the cd and turn it on&quot;? i burned it onto a cd and put it in my computer and nothing happened, i even tried restarting it but no luck </p><p>can you please help me </p><p>colt</p>
<p>he means like inserting it when cpu is booting or use the bios to use cd to boot from...Gud Luc Booting!!</p>
<p>I use a very simple and very small program called tinyweb <a href="http://www.ritlabs.com/download/tinyweb/tinyweb.zip" rel="nofollow">http://www.ritlabs.com/download/tinyweb/tinyweb.zip</a>It works <br>on win 10 and all previous versions and is only 59 kb. Does not requite <br>any installation. You can set up your server within a minute, <br>instructions are simple. However, the program will allow only those <br>directories which are in the &quot;root&quot; of this program, and not your whole <br>hard drive. Instructions on how to use as well as where to download it <br>from can be found at <a href="http://ccm.net/faq/2568-tinyweb-server-on-windows" rel="nofollow"> http://ccm.net/faq/2568-tinyweb-server-on-windows</a> </p><p>I did not do any port forwarding on my router and let the default settings be. All I did was to find my local IP number (run-cmd-ipconfig and copied my IPv4 number as you have explained above). Thereafter I was able to access my computer from the internet by typing <a href="http://my" rel="nofollow"> http://my </a> IP (google whats my IP)</p><p>I think its a great little program if you want to host a small website on your computer for your family and friends</p>
<p>Also, what about using a .tk domain? It's a free domain, have you had experience with it?</p>
<p>How do you know if you can overclock your processor?</p>
<p>Thank you bro, very helpful tutorial!</p>
<p>Thank you bro, very helpful tutorial!</p>
<p>Thank you bro, very helpful tutorial!</p>
<p>Thank you bro, very helpful tutorial!</p>
<p>Thank you bro, very helpful tutorial!</p>
<p>This is a really good guide, I am just wondering whether to even host my own server or not and what <em>I</em> could use it for!</p>
<p>bad site</p>
<p>Hi,</p><p>I would like to know, if I have a web server on a linux embedded systems, that it works FINE with localhost:8080 or the LAN IP adress, and it is connect via dongle WIFI usb, </p><p> IF is it possible to see this local host via ethernet (eth0) in other PC.</p><p>I mean, I want to see in a really local way this web server, through another network interface, by connect this device to my laptop, without a LAN network, only PC- DEVICE via Eth0</p><p>could you help me with that.</p><p>thank you.</p>
<p>Thanks for this infomation... It is useful for me... Thanks so much</p>
<p>servers are easy to setup on most pcs even if you are runing xp your looking for xampp well it looks like the guy that made this thread did all you really need if its a simple site your after is an HTTP SERVER, a software download use a free one you add your web page into the servers public file via ftp server software.... us lets say noip to root the internet to your pc, set your box at the wall to run HTTP webpages on port 80 jobs done</p>
<p>hello, thx it is really helpful, i can acces from other computer to the webpage using the local ip, but with the internet ip prompts for an username and password, not sure whats wrong. Any help would be apreciated. Thx!!</p>
<p>Thank you very much! It's works great!! (without ftp, error login 503, login incorect).</p>
<p>I have started the install process (step 3). I've elected to install Ubuntu with Windows 7. When I reboot my laptop I do not get the operating system bootloader (GRUB). What corrective actions do you recommend? Thank you.</p>

About This Instructable



Bio: I finally graduated from Missouri University of Science and Technology (Missouri S&T, formerly University of Missouri Rolla) with a computer engineering degree. Originally from ... More »
More by CalcProgrammer1:Cheap and Easy Tachometer (RPM Sensor) for Brushed DC Motors Cheap Home Automation using Wireless Outlet Modules ATTiny USI I2C Introduction - A powerful, fast, and convenient communication interface for your ATTiny projects! 
Add instructable to: