Linux as a web server

Which version of Linux is best suited as a web server?

Is there a certain version that has more advantages then another in this field?

I haven't used Linux before so im also looking for an easy interface for a new user.

Thanks :)
Who is Participating?
Lee W, MVPTechnology and Business Process AdvisorCommented:
I don't think it really matters much.  Every version of linux can be radically customized to not run certain unrelated services and the web server component (MOST common, Apache), is available for all versions.  Here's an article for building, installing, securing, and optimizing Apache 2.0 (the web server)
if your server is going to be in the open, I would suggest openBSD. not exactly linux, but its one of the most secure distro's out there.

you are more than likely going to be running the apache web server...
apache is apache, and apache is good!!

if the server is for internal use only,  you can still go with openbsd, or one of the redhat variants.   fedora, mandrake, etc...
Lee W, MVPTechnology and Business Process AdvisorCommented:
Actually, I've never used it, but you'd probably want SE Linux - Security Enhanced Linux - see
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Hi, for a newbie, I would suggest going with Fedora Core it's much easier to manage, package management wise. Most of it is point and click + some typing if you are new to linux.
Lee W, MVPTechnology and Business Process AdvisorCommented:
Mandrake is generally considered amongst the easiest distributions of Linux.  In many respects, I'd say the install is the most difficult part.  You might well have individual issues with apps later, but knowing what to install and what not to, how to partition the disk, etc can be daunting.  Most distros have graphical setups and try - to one degree or another - to walk you through things.  

I'd suggest reading some things - much of this is general and not specific to web services, but if you're new to linux, it can't hurt to read through it.,aid,113746,00.asp,3973,1186382,00.asp

You can also download a Linux distribution entirely on CD (Knoppix) that runs on the CD and boots from it.  Probably a good thing to do to familiarize yourself (keeping in mind that distros can vary and not EVERYTHING you learn in Knoppix will be the same in whatever version you choose).

Whatever distro you choose, you can more than likely download it from
As far of security and ability to host websites I would recommend debian or slackware both have  a lifcycled geared to the promotion of security and reliability above gui enhancments.

Debian has excellent package managment and security update system.
You asked which version of linux.      It does not really matter, as you have to make your OWN decision.

Here is a web site DEDICATED to the various (tons!!!!!!) on Linux distributions.

When you are browsing the various distributions, pay CLOSE attention to, for example, which release of the Apache Web server is included.    To me, that's more important than the version of Linux.
Hi MattMeister,

all Linux distributions can be used as a webserver. Mostly because the most common webserver (Apache) can run on Linux without many dependencies.

The best suited distribution for you will be the one that you feel confortable with, know how to administrate and mantain. This is mostly a sysadmin choice and not a must, but if you want to know what distributions is more used as webserver indexes all the webservers on internet and gives you some charts that can be usefull for you:

This shows Redhat as at the top, but also tells that Gentoo has growth in the past months.

My recomendation: Gentoo or Debian, comunity based distributions with online feedback support in lists and irc channels (responses in real time) and many documentation about them.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.