News for hackers. Stuff that matters.
Re:How to run a Linux based home web server by der_ketzer on Friday August 28, 2009 @01:28PM (#791823)
I wonder, if I don't need hugh amount of bandwidth should I go for a home solution?. Is it worth the hassle of administrating my own machine for web-hosting vs paying a web hosting service? Hostgator has a plan for 5dls a month. My admin time, power consumption, etc costs less than 5dls a month?
Re:How to run a Linux based home web server by jws on Friday August 28, 2009 @02:00PM (#791888)
First legal issues, then dollars…

If you are in the US at least, your contract you entered into with your ISP probably forbids you from running a home server.

Now dollars. Figure out how many watts your server uses. This is not the wattage of the power supply or the amperage on the power connector times 110. I measure mine with a Kill-a-watt. For a desktop PC of unassuming power it is probably something like 90 to 150 watts. As a quick rule of thumb, you are paying $1/year for each of those watts.

You would have to have a 60 watt PC to compete with Hostgator on dollars. The only PC I have ever had that falls under that is an Atom based machine.

Re:How to run a Linux based home web server by RyanMcGreal on Friday August 28, 2009 @01:31PM (#791829)
Truly, I say unto thee, that this one hath not the heart of a hacker.

;)

Re:How to run a Linux based home web server by der_ketzer on Friday August 28, 2009 @01:37PM (#791836)
Hehehe, one thing is having my own server (which I have, CUPS, LAMP, Samba) and another thing is using it outside my private home network.

Although I have LAMP and make my things locally I prefer to "outsource" my hosting to someone else.

Re:How to run a Linux based home web server by pavel_lishin on Friday August 28, 2009 @01:58PM (#791879)
There shouldn't be much to administer once you're done setting everything up. Worst case scenario (which was my case), you spend a day fiddling with the damn thing.

Then you stick it under your desk, and it purrs along forever.

Re:How to run a Linux based home web server by pavel_lishin on Friday August 28, 2009 @01:58PM (#791878)
There shouldn't be much to administer once you're done setting everything up. Worst case scenario (which was my case), you spend a day fiddling with the damn thing.

Then you stick it under your desk, and it purrs along forever.

Re:How to run a Linux based home web server by ars on Friday August 28, 2009 @04:10PM (#792189)
I've been doing this for years. My home server is the dev machine. And changes go there first, once I'm happy with it (and the client approved it), I use source control to push out the changes to the production machines at a hosting company.

It's much faster to edit a file locally as opposed to over a network share (sshfs).

Re:How to run a Linux based home web server by sketerpot on Friday August 28, 2009 @03:47PM (#792122)
Obviously it's fun to run a server at home, sometimes. The question is whether or not there's something more fun. Or "better" for any definition of goodness you prefer.

http://en.wikipedia.org/wiki/Opportunity_cost

I, for one, remain fully satisfied with the time I spent installing Gentoo Linux.

Re:How to run a Linux based home web server by barrkel on Friday August 28, 2009 @02:00PM (#791886)
The thing that concerns me more is the surface area into my home network.
Re:How to run a Linux based home web server by jsz0 on Friday August 28, 2009 @04:26PM (#792219)
One of the first things you should do is find out if your ISP blocks the incoming ports you need for whatever servers you want to run. Most do. Almost all prohibit usage of servers in their ToS unless you have a "business class" package. The other issue is simply how much upstream bandwidth you have and how reliable your internet connection is.

Running a server at home is great if you actually want to learn the ins and outs of administrating. I've always felt like there are three ways to administrate a server:

1) Just make it work. All sorts of problems lurking under the surface but it does basically what you need it to do until you find out one day something is broken and you have absolutely no clue how to fix it so you have an emergency Google session trying to figure out what a cryptic error message means.

2) Make it work well and follow some basic 'best practices' This is only as good as the HOWTO you're following. Definitely better than #1 but a much bigger hassle. Not as much of a hassle as..

3) Do it right. Learn the platform inside out. Fine tune everything. Develop rigid backup & maintenance policies. Keep current with security issues. Check your logs religiously. Maximize your uptime.

These are all perfectly valid approaches to it depending how important the server is but they all do include an element of hassle and upkeep versus paying someone a few bucks a month to do it for you.

Re:How to run a Linux based home web server by flooha on Friday August 28, 2009 @09:02PM (#792599)
"find out if your ISP blocks the incoming ports you need for whatever servers you want to run. Most do."

I've heard this a lot, but never encountered it and I've run servers off of DSL, Cable, hell, even off a Sprint Wireless Card...

EDIT: I've always been a relatively good boy with these servers, so that might explain it.

Re:How to run a Linux based home web server by Ben65 on Friday August 28, 2009 @03:47PM (#792124)
The thing is, what if you want to run something Hostgator doesn't offer. I didn't see Arc, or PLT Scheme, or even Java. From your own home server you can run whatever you want.
Re:How to run a Linux based home web server by tjr on Friday August 28, 2009 @04:43PM (#792248)
I used Hostgator several years ago. I vaguely recall them being agreeable to install additional software upon request, though I do not remember what I asked them to install.
Re:How to run a Linux based home web server by charlesju on Friday August 28, 2009 @01:31PM (#791828)
Yes. It is much more time/cost efficient to host from a server farm these days.
Re:How to run a Linux based home web server by joshu on Friday August 28, 2009 @01:42PM (#791846)
It's nice to have a dev server at home though.

I recently put together a new machine - an MSI Wind (the cheap one, $160) + 2gb ram ($20) + a OCZ Vertex 32gb SSD ($100). It's quite nice, fast, silent, and consumes 25 watts at idle.