Linux as a web server

Posted on 2004-10-24
Last Modified: 2013-12-05
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 :)
Question by:MattMeister
    LVL 95

    Accepted Solution

    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)
    LVL 6

    Assisted Solution

    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...
    LVL 95

    Expert Comment

    by:Lee W, MVP
    Actually, I've never used it, but you'd probably want SE Linux - Security Enhanced Linux - see
    LVL 2

    Assisted Solution

    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.
    LVL 95

    Expert Comment

    by:Lee W, MVP
    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
    LVL 5

    Assisted Solution

    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.
    LVL 13

    Assisted Solution

    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.
    LVL 1

    Assisted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: Foundations of Front-End Development

    Jump-start a lucrative career in front-end web development, with zero previous coding experience required. This course covers the basic programming concepts and languages required for creating engaging websites from scratch.

    Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    909 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now