3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Set up your very own Web server!

Set up your very own Web server!
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).
 
Remove these adsRemove these ads by Signing Up
 

Step 1Acquire a dedicated PC

Acquire a dedicated PC
«
  • IMG_2345.JPG
  • monkey-on-typewriter.jpg
  • IMG_2348.JPG
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)
1.5GB DDR RAM
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.
« Previous StepDownload PDFView All StepsNext Step »
204 comments
1-40 of 204next »
Jan 20, 2012. 7:28 AMblazed01 says:
Hello, I'll try to set-up a web hosting using ubuntu server 11.10 but, when i try do the step a got error also when i try install apache2, and the GUI. I don't what to do....please help me. thanks!
Dec 19, 2011. 2:39 PMtechboy411 says:
Well........SmootWall?
Nov 28, 2010. 2:45 PMharias says:
I got an error message when trying to activate:
-Fatal: TLSRSACertificateFile:'etc/garmin-proftpd/certs/cert.pem' does not exist online 57 of '/etc/proftpd/proftpd.conf'
I am using Ubuntu 10.10, nd I have the feeling this tutorial is for a lower version...
Jun 23, 2011. 11:11 AMcomputerlover says:
I'm using Kubuntu 11.04 and I got the same issue. Try filling in the info. fields on the certificate section, then click apply. (scroll down a bit) It worked for me!
Nov 5, 2008. 3:50 PMmaxpower49 says:
how can you tell if your processor is 64 bit compatable
Apr 6, 2011. 7:57 AMQ-ro says:
If you are using Linux you could run the following command on a terminal (command line):

uname -m

if you get a i386 or i686 response then it is 32 bit, a x86_64 response means its a 64bit.


Also if you get the 2 editions (64 and 32), and try to get the 64 bits version running on your pc it won't work at all so you will know you pc is not meant for 64 bits .

Another method would be to check the processor manufacturer webpage.
Apr 6, 2011. 7:52 AMQ-ro says:
One question ¿is it possible to set a GUI on a server edition? i was just wandering, i believe i can just install the genome-desktop package from aptitude, but don't wanna try it out to discover it mess up my server.

Thanks in advance.
Mar 25, 2011. 10:15 AMhigh_man4202003 says:
You can try checking the computer properties by right clicking on my computer and clicking on properties or try going to your run program in the start menu and type dxdiag click ok and click yes on the popup window.
Feb 19, 2010. 2:50 PMshaqadim says:
 mine keeps on coming up saying that my computer can only be reached on a local network but i have a ethernet cable connected y wont it connect to the internet
Nov 13, 2010. 10:31 AMpspuria says:
you need to go into your router and configure port forwarding
web port is 80 and set the address as the webserver and you should be able to access it from the EXTERNAL ip address that your network sits behind
Oct 17, 2010. 11:15 AMKnuxz says:
You probably need to open the correct ports on your router so that when other computers are trying to remotely access it they can have a path to follow.
Nov 11, 2010. 12:06 PMComputothought says:
may also want to set up ddns.
Nov 11, 2010. 12:06 PMComputothought says:
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.
Jan 4, 2010. 6:47 PMZoombus says:
 I have a problem.  I forwarded my ports correctly, and I can't access the 'It Works!' page from my internet ip.  I can access it from my local ip.  What could be wrong?
Nov 11, 2010. 11:53 AMComputothought says:
Your internet address will be differrent from your local address. ddns is a way around that. There are several free servers to allow to do that. web search free ddns.
Jan 29, 2010. 7:30 PMDms12444 says:
Pardon my asking, but in Windows couldn't you just use IIS (internet information services), It's free (I think), and runs on Windows.
Nov 11, 2010. 11:51 AMComputothought says:
I will take xampp or wampserver (both free) over iis anyday. Besides iis does not come wih mysql or php. MsSQL is not free last I heard. Have not programmed is asp.
Jan 21, 2010. 9:19 PMZicologo says:
CalcProgrammer, is IE the only way you can use to upload files to the server?
Nov 11, 2010. 11:48 AMComputothought says:
I Install ssh and and openssh-server and then use WINSCP on mswindows to transfer files.
Feb 12, 2010. 7:47 PMlilpepsikraker says:
I'll give a thumbs up for FireFTP, it runs on any computer than can run Firefox 2 or higher (Win, Lin, OSX, whatever) and it pretty fast, being that it's basically a plugin for Firefox.
Dec 31, 2009. 4:55 AMddvniek says:
But what if you don't have Linux?????? What do you do then?? I have Microsoft Windows 7.
Nov 11, 2010. 11:45 AMComputothought says:
You can try something like wanp (wampserver). I am a linux person, but I had to set up a web server on windows xp to do a home automation demo for friends.

http://www.instructables.com/id/Quicky-web-server-for-MSWindows-XP/
http://www.instructables.com/id/Home-Automation-MSWindows-XP/
There is also xampp for windows.

As soon as I have access to w7, I will do a couple of update instructables.
Aug 21, 2010. 9:06 AMCyberJacob says:
you can stream media from Ubuntu to an xbox, just find out what protocols it supports and install some daemons for them. hey LMGTFY - http://adf.ly/5WP9
Oct 2, 2010. 11:50 AMcomputerlover says:

I am running Ubuntu 10.04 Lts. In the VNC, there is no option to make it public. how do I make screen sharing public?
Feb 19, 2009. 7:09 AMdeclanthedork says:
So far, this is a great Instructable. I just have a small problem. When I click apply changes, I get this. Error: user not found, couldnt change its settings. Could you possibly tell me what it means? Thanks
Feb 19, 2009. 7:13 AMdeclanthedork says:
never mind! I did it! you have to click add, user, not apply. Stupid me! btw, awesome instructable!
Aug 24, 2010. 2:50 PMharry599 says:
wheres that??
Aug 23, 2010. 5:22 PMaccount3r2 says:
so........ this is just like a website?
Aug 23, 2010. 5:20 PMaccount3r2 says:
Google: http://72.14.204.104 or http://66.249.90.104
Aug 21, 2010. 9:11 AMCyberJacob says:
easy way to solve it, just tell them to go f**k themselves and open the port or you'll go somewhere else for your 'net connection
Jun 3, 2010. 7:55 PMLord_Drogoth says:
i have a unknown error   - Fatal: TLSRSACertificateFile: '/etc/gadmin-proftpd/certs/cert.pem' does not exist on line 56 of '/etc/proftpd/proftpd.conf' dunno whats wrong but it says this every time i try to activate the ftp server any ideas?
Feb 3, 2010. 2:36 AMyetiballer says:
 Hi there, I am having trouble installing the second program
it is saying, E: couldnt find package gproftpd
What can I do about this?



Jun 1, 2010. 8:50 PMmellacita says:
It's been renamed to " gadmin-proftpd " instead of " gproftpd ' if you have a version newer than 8.04. 
May 9, 2010. 2:44 PMsnareshkumar says:
I am getting an error when trying to install gproftpd

It's saying: "E: Couldn't find package gproftpd" 

then i downloaded gadmin-proftpd from net 

i am new user to linex .. so please explain me how to install it

pls pls pls pls pls pls pls pls

thank u in advance:-)
Jun 1, 2010. 8:48 PMmellacita says:
Did you type into the Terminal: " sudo apt-get install gadmin-proftpd '  after you downloaded gadmin-proftpd? The last word is different from the tutorial if you have a newer version of Linux or something. 
1-40 of 204next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
52
Followers
9
Author:CalcProgrammer1
I'm attending Missouri University of Science and Technology for Computer Engineering. I like working with electronics, and I'll post instructions on projects. I also like the Nintendo Wii and the Xb...
more »