Make Your Computer Into A Server in 10 Minutes (free software)

 by leevonk
apache.jpg
This covers how to quickly set up your computer (running Windows) as a server. This will allow you to host your own website from your computer and will let you to make web pages with 'buttons' allowing you to control things in your home (robots, cameras, etc) from the internet (I'll cover that in future instructables).

We'll be using apache: very popular, free, open source server software.

While making your computer into a server will be very quick, you should read through the Apache http server software documentation to learn about how to set it up securely (so that people don't hack into your computer). I'll give this advice but read elsewhere for more:
1) best to install this server software on an old computer that you don't use for anything other than as a server.
2) best to create a seperate user account in windows with limited system access and install this software in that account.


If you want to do this on linux instead of windows (more secure, slightly more complicated) the best combination would be puppy linux and xamp for the server software. Puppy linux can be loaded off a usb jump drive or a CD, so you don't need to uninstall windows, just boot the computer with one of those. Here's easy setup videos for puppy linux: http://rhinoweb.us/
See this instructable for how to install xamp once you have puppy linux (or some other linux) working:
http://www.instructables.com/id/Make-a-Server-Out-Of-An-Old-PC/
 
Remove these adsRemove these ads by Signing Up

Step 1: Download Apache Server Software

downloading.jpg
Download the apache http server software from this apache mirror site:

http://www.reverse.net/pub/apache/httpd/binaries/win32/
_Or_ go to http://www.apache.org/, navigate to the download from mirrors page, pick a mirror and download from there. As you can see from the above link, you'll want to navigate to the mirror's apache, httpd, binaries, win32 folder.

What To Download:
= You should download the newest version (highest version number), it's 2.2.6 as I type this. Check here to see what the newest version is if you want: http://httpd.apache.org/
= You want the .msi file, this is a windows installation file (like an .exe)

DELETED_maluslupus81 says: Jan 19, 2013. 9:14 AM
(removed by author or community request)
kdatta says: Apr 8, 2012. 3:18 AM
is there any other way of hosting a site........by making our site as server
kdatta says: Apr 8, 2012. 2:45 AM
reply me i need to start a server........ its not filling the boxes automatically.........
kdatta says: Apr 8, 2012. 2:43 AM
if it does not fills the boxes automatically what to do i am not understanding
ganeshjha says: Dec 6, 2011. 1:02 AM
kids know more than your post "Make Your Computer Into A Server in 10 Minutes (free software)"
.....
apatni says: Jul 17, 2011. 10:08 PM
i want to make 1 system as server n i have 10 system connected in LAN so how i can make a normal system into a server
TheTechGuy99 says: Feb 27, 2011. 1:39 PM
could you please tell me the exact name of the file I should download
because there are multiple msi's with the same number
zebsolo says: Feb 25, 2011. 10:12 AM
where do you put the website html files
mikemmcmeans says: Feb 15, 2011. 8:08 PM
so if i have a dynamic dyns account using the adderess
aaaa.bbbb.ogr

what exactly should i put in the 3 blanks during install?
Computothought says: Nov 11, 2010. 12:12 PM
If you use ddns, you can get a domain free for a limited time.

Once you start using a web server, you will wonder why you never used one before. I run my private apache web server on an old an old pII. It is currently running Ubuntu though I prefer debian when I am not running centos. I had it on I think ubuntu server 6.x and have done in-place upgrades as they came along the way to 9.x. (i.e. no reformatting or disk wiping). This is an example of the actual web pages i run on it. http://www.instructables.com/id/Uses-for-your-own-private-cloud/ I have since added doing home automation on it. Keep finding uses for that legacy computer. Microsoft Windows Supporters said I should have thrown away a long time ago. It is not what you use, but how you use it.

Wampserver is an alternative to xaamp.
Bongmaster says: Nov 11, 2007. 11:43 AM
I wouldn't recommend using windows.. try Puppy Linux 8or whatever distro u like) and XAMPP.. fast and easy.. and a hell of a lot more secure..
masterme120 in reply to BongmasterJan 1, 2009. 10:17 PM
(removed by author or community request)
Bongmaster in reply to masterme120Jan 2, 2009. 1:57 PM
no i mean puppy linux as in http://www.puppylinux.org/ ;)
pmartinez in reply to BongmasterMar 26, 2008. 5:21 PM
I agree Xampp with the auto install is much easier, that's what I use.. I like Obuntu linux system as well
leevonk (author) in reply to BongmasterNov 11, 2007. 12:07 PM
it's a lot easier to do with windows, but yes it would be more secure with linux. I agree that puppy linux would be a good choice since you can load it off a CD so don't even need to uninstall windows.
mikedoth in reply to leevonkNov 11, 2007. 2:01 PM
I think I agree, i'd like to see it for Linux, perhaps Ubuntu or Suse.
schimmi in reply to mikedothFeb 4, 2008. 8:07 PM
ubuntu server edition...
Sir Maverick in reply to schimmiJun 10, 2008. 7:01 PM
Centos5.....
leevonk (author) in reply to mikedothNov 11, 2007. 10:18 PM
hey, look, tada:

http://www.instructables.com/id/Make-a-Server-Out-Of-An-Old-PC/

looks like someone has already made a linux xamp installation instructable
PureBreed in reply to leevonkApr 3, 2008. 9:54 PM
dude, that links already in this instructable, go read it agiain. xD (thats a comliment coming from me BTW, i make stupid mistakes all the time) lol
Bongmaster in reply to leevonkNov 11, 2007. 12:32 PM
if you get the dotpup of xampp its so easy.. it runs streaght from the get go.. i have been using puppy, and xampp for ages and have no problems. (appart form my hardware.. but thats old)
leevonk (author) in reply to BongmasterNov 11, 2007. 10:15 PM
ok, maybe I'll try that, thanks for the advice :)
REA says: Jul 26, 2008. 5:33 PM
im going to assume it works for Win 98.
Derin says: Jul 9, 2008. 10:44 AM
Oh No!It didnt fill in anything!
PureBreed says: Apr 3, 2008. 9:56 PM
if ur rich, go buy a 4,000 dollar server computer. xD wish i had the money
BloodRaven says: Jan 18, 2008. 5:42 AM
If you have a computer you use a lot, would it mess it up? I have a vista and wanted to make another account on it and use that as a server, but don't want it being destroyed because of it
cris1133 says: Jan 5, 2008. 8:44 AM
ill also host a AA server
cris1133 says: Jan 5, 2008. 8:43 AM
nice! now i can host an online game without paying $300 dollars per month
Dark_Helmet says: Dec 27, 2007. 3:03 PM
You should cover port forwarding for people without dedicated IP addresses for each computer.
ScriptKing1 in reply to Dark_HelmetDec 27, 2007. 4:58 PM
I know, but I have a fixed IP, and not a Dynamic DNS or undedicated IP address, whatever you want to call it, so there is no way I can test it with my current configuration. Sorry, otherwise I would cover port forwarding.
ScriptKing1 says: Dec 24, 2007. 11:38 AM
Hey, I went and kept researching on how to do a couple things with the server, and once I had it done, I made this Instructable. Here
leevonk (author) in reply to ScriptKing1Dec 25, 2007. 8:56 PM
nice, good job, thanks for following up on that stuff. If you want to use a domain name (e.g. www.blahblahblah.com) instead of your IP address you can buy a domain name for around $10/year, pretty cheap. Just type buy domain name into google and you'll get a bunch of sites you can use, I used www.godaddy.com
ScriptKing1 says: Dec 23, 2007. 1:39 PM
Please make an instructable on how to upload your websites to the internet using Apache 2.2. Thank you. Good instructable. P.S If you don't want to make a new instructable for it, could you atleast PM me so that I know how. thanks!
leevonk (author) in reply to ScriptKing1Dec 23, 2007. 2:50 PM
great question, you can edit/replace the index.html in the folder 'htdocs' which is in your apache folder (wherever you installed it). after you've done that you should be able to access that index.html from any other computer on the web by typing in your server's IP address. If your ISP (internet service provider) uses static IP addresses you just type in the IP address every time to access your page.
If your ISP uses dynamic IP addresses you'll need to look up your server's IP address each time you disconnect/reconnect it to the web. There are free services that will do this for you: DNS2Go or dyndns.org. Sorry, I'll try to test all this out thoroughly and update the instructable in the future. Here are some useful references:

http://johnbokma.com/windows/apache-virtual-hosts-xp.html
http://groups.google.com/group/comp.infosystems.www.servers.ms-windows/browse_thread/thread/866bad569981327c/b1d7fb821ab94a8f?hl=en&lnk=gst&q=web+page#b1d7fb821ab94a8f
http://www.tivohelp.com/archive/tivohelp.swiki.net/31.html
ScriptKing1 in reply to leevonkDec 23, 2007. 4:19 PM
THank you for your help and for replying!! = )
bleachworthy says: Nov 11, 2007. 12:21 PM
ooh, suckage, only apache http?
I have Apache2Triad on my machine, it has all the necessities, http, ftp, database, PHP, ASP, the works, and it can be found HERE it is all covered in a basic installer package, and generally installs within 10 minutes (keep in mind this package is pretty big, and it even includes a CPanel-like management interface, that is easily accessible, and user friendly. I advise it 110% for those of you that are remotely interested in running your own web server.
leevonk (author) in reply to bleachworthyNov 11, 2007. 1:21 PM
cool, I didn't know about that, maybe I'll do that and update the instructable with that program instead
Bongmaster in reply to leevonkNov 11, 2007. 4:36 PM
xampp includes apache, php, ftp, pearl, and a few other things too.
and u can get it for windows too (if u really insist on using windows :P )
http://www.apachefriends.org/en/xampp.html
worth a look at least.
leevonk (author) in reply to BongmasterNov 11, 2007. 10:13 PM
is it smaller than a 75mb download, cause that's how big triad was :-P
bleachworthy in reply to BongmasterNov 11, 2007. 9:24 PM
not bad, not bad. seems to be the same thing as apache2triad, but with a little twist, and more goodies. I don't think a2t has any data collections, or a report builder like webalyzer. btw, webalizer kicks ass, I use it all the time on my fialing website ( www.fsforums.net ) lack of advertising funds kicked the sites ass.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!