Page 1 of 1

starting up a webserver [help]

Posted: Thu May 25, 2006 11:20 am
by [cc]z@nd!
well, i recently ran into 2 old computers that would have otherwise been trashed. i tested them, and one seems to have a videocard problem, and the other's only problem is that it's missing a vmouse dll, preventing windows 95 from working.

so, i have one posotively working pc, all i'd need to do is install some linux distro, and i'd be able to start up an in-house webserver.

now, i'd have it up and running right now, but i lack the expertise in actual webhosting to have it running smooth and safe. here's how i was thinking of going along with the process:



1) install linux on the pc. preferably one that is windoze user friendly (not too hard to learn) and isn't a performance hog (so i get the most performance out of the webserver).

2) it has an old-ass hard drive in it, so i'm gonna need to find a better storage method. i still don't even know exactly how small the hard drive is though, so i'll play it by ear. it has a cd drive i could use if i had to anyways.

3) find the server's MAC address and add a static ARP entry into my router for it, hopefully keeping the server from getting a different IP from the DHCP pool/

4) forward port 80 (HTTP) and if necessary, the HTTPS and FTP ports as well, to the server's IP. because i do it like this, i need to make sure the server keeps a specific IP all the time, so if it crashes, i don't have someone accidentally accessing my pc over the web instead of the server.

5) install apache and any other necessarry programs for the web server to function correctly.

6) create web pages and upload them to the server.



ok, i have the process outlined, but I don't know how to do all of that. I'd probably need some help with the linux install, and i'd also need help setting up apache correctly. and i need to find a good way to make sure that the server will always have an IP address specified by me, as well as keeping other computers from accidentally being assigned this IP.

can anyone help me? :?

Posted: Thu May 25, 2006 3:05 pm
by BEEF!!!
Well, first of all before you go out and buy larger HDDs for it, I would check to see if there is a BIOS update. The thing I ran into with my computer when I tried to turn it into a server is that an older BIOS sometimes won't allow for larger then say a 10 GB HDD. This is because a 15 GB hard drive was unheard of back then. The problem that happened with me is the company who made the BIOS for it went out of businuss so I wasnt able to stick anything larger than a 9 gig HDD in it.
Long story short; Make sure you can get a BIOS update.

Posted: Thu May 25, 2006 7:28 pm
by [cc]z@nd!
i'll check that out.

then again, i don't have any spare 30 gig hard drives lyin around, so i could probably just buy some 5 gig one off ebay. that should be more webhosting space than i need.

Posted: Sat May 27, 2006 9:27 pm
by [cc]z@nd!
it's an old 8 GB bigfoot drive. you should see it in the case, it's easily the size of a cd drive.

Image

the pic isn't much for scale comparison, but mine is about 8 inches long and 5 3/4 inches wide.