• On GameSpot: So-called 'Halo killer' gets 23 to life
January 16, 2009 7:07 AM PST

Linux vs. Windows: Which is a better Web host?

by Matt Asay

It used to be that choosing Windows or Linux to host your Web site made a big difference in the kind of functionality or services offered. On Friday, as this informative article on KnockOutHost.com suggests, the choice between Linux and Windows has become somewhat less stark.

It's not that there aren't differences between the two. Security, programming languages, and more all differ between Linux and Windows. But it's a great coup for Linux to note that, if anything, the functionality available for Linux meets and often exceeds that provided by Windows, making one's choice less about operating systems and more about the Web host's other services:

It is better to pick a Web host based on its features and services rather than on what operating system...is running on its Web servers, as the difference between the two is very little. However, if your Web site particularly requires a certain language due to the programmers you work with...it would be prudent to check for system compatibility before subscribing to a Web host.

If you do not require such specific details, you should simply sit back and let the Web host handle these complicated technical details, and focus on your Web site itself. After all, the content is way more important than the programming language or the OS of the Web servers.

Some will argue with this contention, suggesting that Linux is always better than Windows (or vice versa). It's simply not true--not anymore at least.

I believe that this is a huge step forward for Linux. It has narrowed the functionality and ease-of-use gap and, if anything, has put some distance between itself and Windows as it steps into the lead.

This is what we should want for any operating system: less attention on the operating system and more attention on higher-level features and services. It makes Linux and Windows, in this case, foundations for what users really care about. How well the operating system does its job and then gets out of the way, without calling too much attention to itself, should be the next decade of OS competition.

Matt Asay brings a decade of in-the-trenches open-source business and legal experience to The Open Road, with an emphasis on emerging open-source business strategies and opportunities. Matt is vice president of business development at Alfresco, a company that develops open-source software for content management. He is a member of the CNET Blog Network and is not an employee of CNET. Disclosure. You can follow Matt on Twitter @mjasay.
Recent posts from The Open Road
Mobile: Still waiting to see what sticks
Google privacy controls: Most people won't care
Amazon's move mocks EU's fear of Oracle
Skype to open-source far too little
The difference a few years makes to open source
Novell cuts 3 percent of its workforce, plus benefits
Data's one-two punch in open-source business models
Open source as an antitrust strategy
Add a Comment (Log in or register) Showing 1 of 2 pages (50 Comments)
by ppgreat January 16, 2009 8:04 AM PST
Linux vs. Windows: Which is a better Web host?

Linux. Wider range of functionality and access. No ASP issues. No Microsoft tax.
Reply to this comment
by eadeguzman January 16, 2009 12:26 PM PST
You don't need Linux to run Apache, MySQL, JBoss or Tomcat... But can you run IIS or SQL Server on Linux?

But if we're talking about comparison of JSP and ASPX...

I'm not very sure about performance issues, but it's surely a lot easier to develop using Visual Studio on IIS. The key is integration which JSP/PHP development does not have.

I mean, I can create a web service (SOAP complete with WSDL etc..) in a few minutes without having to browse the internet and download Axis, etc... Also, if you want to call a stored procedure, you just create an XSD in Visual Studio and drag-and-drop the target stored procedure from a SQL Server view in Visual Studio itself... All you have to do is call the stored proc from the C# ASPX code behind.

Can the so-called LAMP match that?
by MSSlayer January 16, 2009 8:56 PM PST
Who would want to run IIS or SQL Server on Linux?

ASPX is another lock in tool, and a buggy, bloated and unsecure lock in tool.

That the L in LAMP can be as easily replaced as the A, M, or P, is a huge plus.
by stuxstu January 16, 2009 8:20 AM PST
Interesting, I always found Linux to be the "simpler" OS to use for websites and Windows to be much more complex. Guess I have to take another look at IIS7 for web design.

Since 90% of the computer users are running Windows, name recognition could seriously hurt Linux on web serving. All that it takes is a simpler connection between your desktop and web server....

Still prefer Linux for web servers as I am used to it now (LAMP).
Reply to this comment
by rapier1 January 16, 2009 8:29 AM PST
I also prefer unix for hosting web services but there have been situations where using Windows was a requirement. In those cases I usually just set up an AMP environment and, for the most part, it pretty much just worked. Getting some of the mysql extensions to run under windows was a pain but I think that was mostly because of my lack of experience more than anything else. For the most part I was surprised at how easy it was to just port an entire site (a rather complex web app) over to windows and I've been pleased with the level of functionality and stability.
by January 16, 2009 8:29 AM PST
Try getting .htaccess files to work properly with IIS or with Apache running on Windows. Argh. *nix + Apache + one of the security modules (eg suexec + FastCGI) - must sweeter to work with and provide fine-grained security, than Windows + IIS. Most CMSes are a PITA to set up on bog-standard (i.e. no custom third party modules) IIS.
Reply to this comment
by rapier1 January 16, 2009 8:32 AM PST
What's interesting to me, as someone who *always* set up web services (and most every other network service) under unix, is the conclusion that Matt came to. He makes it sound like Linux has made great strides in offering the same functionality as Windows for web hosting. I actually think its the other way around - that Windows has made significant progress in reaching the same level of functionality as Linux.
Reply to this comment
by Penguinisto January 16, 2009 9:04 AM PST
Agreed. The LAMP stack has been around for eons, while Windows has had to play catch-up with IIS.

Thing is, there's still the issue of $$$. I can get a Linux-based web host server going for $0.00 in software costs, no matter what kind of hardware it sits on. Windows Server 2003/2008 OTOH has differing prices based on server processor count (Web, Standard, Enterprise, and Datacenter versions) and those prices are still expensive, even at the introductory Web Edition version.

Therein lies the value of Linux (assuming all other factors were equal), at least from the host's point of view.
by manojlds January 17, 2009 7:02 PM PST
Traditionally, Unix has been THE OS when it came to the web. It has been in the recent years that Windows Server has become mainstream when it comes to web hosting. Windows was seen as a common man desktop OS with technical people shunning it and using Unix. The power users or technical people or whatever you call them, found Unix more suited to their needs and it was natural that Unix became the OS for the internet ( not the OS used for browsing, the OS that made the browsing possible)

The point that there seems to be no difference between Windows and Linux servers suggests that Windows has made great progress. The author is assuming wrongly that Windows was the ubiquitous server previously with Linux having made much inroads in to the Web hosting arena. No!
by thelemurking January 16, 2009 8:34 AM PST
Linux all the way. You just can't beat a LAMP (Linux Apache MySQL PHP) setup. I've had problems with Apache and PHP on Windows, so I stick with Linux for web hosting.

I've been very happy with Ipower.com as a host... I think I maybe had less than 10 hours of downtime last year with them and that was because I was on an older server that had to be migrated. Other than that, their Linux servers have been extremely reliable. I do miss the older VDeck backend which was a lot easier to navigate, but I rarely ever need to go in there, since I do everything in notepad and dreamweaver and then FTP it up when ready. So about the only time I need to go into the control panel is to setup MySQL DBs or edit/drop a table or two.
Reply to this comment
by MSSlayer January 16, 2009 12:07 PM PST
replace the P with Python or Perl(or even Java or Ruby-yes you can use these here without resorting to servlets or rails) and you are in business. PHP is a messy, insecure language written by amateurs for amateurs.
by rapier1 January 16, 2009 8:37 AM PST
One additional comment about the linked article. In it the author writes:
"Linux is the only one that offers telnet or ssh access."

This is untrue. SSH is available for windows through packages like CopSSH or OpenSSH under a cygwin installation. You can also get commercial SSH servers for Windows without much of a problem.
Reply to this comment
by Penguinisto January 16, 2009 9:05 AM PST
So IOW, you have to put in a baby Linux environment on Windows to get the same functionality, or pay money to get ssh as a package (BTW, doesn't SFU have ssh? Can't remember offhand).
by rapier1 January 17, 2009 6:31 PM PST
Cygwin != Linux

The point is that SSH is available for Windows. The CopSSH install is actually pretty minimal and no more problematic than installing an application through apt or port. It works well. It doesn't give the same level of performance because of the shim layer but being that OpenSSH itself isn't building for performance the differentials aren't really measurable outside of LANs or unless you're using the hpn-ssh patches.
by MSSlayer January 18, 2009 12:38 PM PST
The point is you have to jump through lot of hoops and emulate Linux to even come close to what you get by default in Linux.

Yes, using the term "baby linux" is a pretty good explanation.

From http://www.cygwin.com/:

Cygwin is a Linux-like environment for Windows. It consists of two parts:

A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
A collection of tools which provide Linux look and feel.

Why do all that? Just use Linux. There is a reason in runs most of the servers on the Internet and WWW.
by ralfthedog January 16, 2009 8:38 AM PST
Why would anyone want a GUI on a server? Why spend clock cycles drawing pretty pictures no one will ever see? Spend your clock cycles and ram on your applications.

When your server is 2,000 miles away it is much easier to SSH in and edit a few text files. If you want to run 20 instances of Linux on your server, it costs no more than 1. When you get your system running the way you want, but you need bigger hardware, Just copy the operating system from one box to the next.

Linux is smaller, faster, and you can compile your copy with only the services you need (Thus it is much more secure).

Windows does have some advantages like the ability to play FreeCell and compatibility with many fun viruses.
Reply to this comment
by Hunnter2k3 January 16, 2009 9:59 AM PST
I have to agree with this.

Linux is just overall better for web servers IMO.

Windows is just too bloated, especially if you have a site where every cycle counts.
And removing services and files can be unpredictable at times... speaking of files, much larger footprint in that area for Windows.

Hopefully MinWin kernel will be a little better for hosting.
by Jeff Putz January 16, 2009 8:46 AM PST
You use the OS that matches the tools. This is a silly post. Certainly if you're an indie working with LAMP, Linux makes sense. If I'm building something big in a big company, it'll probably be ASP.NET based because that's what's going on in the world, so you use Windows.

I guess it's still fashionable to trash Microsoft, but IIS7 is pretty sweet, in particular because of its deep integration to .NET. The platform has borrowed and learned a great deal from the other platforms. We now have a pretty great MVC framework to use, a decent client library, open embrace of things like jQuery, and, wait for it, the source code for most of the framework.

It doesn't have to be an either-or proposition.
Reply to this comment
by daves_done January 16, 2009 10:43 AM PST
"If I'm building something big in a big company, it'll probably be ASP.NET based because that's what's going on in the world, so you use Windows."

Really? Wow, I didn't know that companies like Google, Yahoo, Facebook, yellowpages.com, Amazon, the O'Reilly network, etc... (and the list goes on) I would say they are pretty big companies with rather large-ish installations.

And a quick jump over to the MySQL site shows a list of their customers. I would say that organizations like NASA and CERN aren't exactly hobbyists.
by Jeff Putz January 16, 2009 11:57 AM PST
Google, Yahoo, Facebook, etc., are hardly corporate America. I'm talking about Chase, Progressive, Sharebuilder, etc. I know it sounds crazy, but there are companies outside of the valley.
by MSSlayer January 16, 2009 12:09 PM PST
Any company that hosts on Windows, for the most part are simply uninformed or incompetent.

There are exceptions, but very few legitimate reason to risk your server setup on Windows,
by Jeff Putz January 16, 2009 12:40 PM PST
That's a stupid and totally unqualified statement. I've worked at Progressive and Insurance.com, and worked on sites based for Smuckers and Pillsbury. I use the sites of Chase, Sharebuilder and others. Are all these companies incompetent? What's on your resume?
by benjwah January 16, 2009 9:57 PM PST
Jeff, I wouldn't worry about a guy who calls himself "MSSlayer". Unless he's a multiple-sclerosis suffering death metal fan, it's highly likely he's made his mind up without really knowing what he's talking about.
by MSSlayer January 18, 2009 12:32 PM PST
If they are allowing customer and employees access vital information through a Windows server, they are incompetent.

Again, there are very few cases where using MS software and protocols is necessary. Most of the time you are doing it because you don't know any better and simply just locking yourself into an expensive and buggy treadmill.
by Ted Miller January 16, 2009 8:52 AM PST
Remember though that Windows 7 will either make or break Microsoft. Fool me once shame on you. fool me twice shame on me. I should say that I AM a Microsoft fan, and use their products often. I will also say again that "file management" in Vista is horried and I fear it will be the same in 7. Making great Web apps and such could always use a good file management system for speedier development.
Reply to this comment
by gsekse January 16, 2009 8:53 AM PST
All I want to see is the words "This site works on IE only." die, go away. Let me use Linux and Firefox you web nazi's.
Reply to this comment
by Penguinisto January 16, 2009 12:01 PM PST
The real funny part of that?

Microsoft once tried to pull that stung in 2000, basically blocking all access to its site unless you used Internet Explorer. Within the day, folks happily reported that you can get around all of microsoft.com just fine with Konqueror or Opera as your web browser - you merely changed your browser's user agent string to mimic that of IE's.

It took less than 48 hours for the mainstream media to run with the story, and for MSFT to realize that they weren't fooling anybody... so they changed it back to where it was before. Now you still need ActiveX to get to some bits of it, but otherwise it runs just fine no matter what OS/browser combo you use.

/P
by dragonbite January 16, 2009 8:57 AM PST
Only one thing leads me towards Windows; ASP (and ASP.NET). Other than that Linux is just as good for my needs.

Now if Hosts were to start offering Mono on Linux to counter ASP.NET then that would be interesting!
Reply to this comment
by MSSlayer January 16, 2009 12:10 PM PST
You don't need ASP or .net. Your system will be better off without that BS,
by fazalmajid January 16, 2009 9:42 AM PST
I think the best server OS is Solaris, but Linux is good enough. In two of my jobs I have had to assume responsibility for bringing under control legacy Windows IIS and ASP web hosting environments that were just falling apart, and the ensuing nightmare. I can attest that Windows is not a suitable platform at all for web serving. Certainly, it can be made to work for a while, but the steady state for Windows web servers is down.

Even were Windows license free (as in beet), they would still be far too expensive. The lack of observability, comprehensive scripting, plain text configuration files rather than proprietary databases that go corrupt at the slightest provocation, and many other terminally idiotic flaws in design make Windows the worst possible OS.

Claiming that Linux is catching up is ridiculous - Windows was never a contender, except among the magazine-reading clueless pointy-haired boss class who saddle people like me with cleaning up the mess.
Reply to this comment
by Jeff Putz January 16, 2009 11:58 AM PST
Legacy ASP, a technology abandoned seven years ago, hardly makes an argument for whether or not Windows is suitable for hosting Web apps.
by terminalblue January 16, 2009 9:52 AM PST
the question is so stupid i thought it was an article by Don Reisinger. but its a good article.
Reply to this comment
by Martijn van Berkum January 16, 2009 10:22 AM PST
Netcraft has been following the hosting industry for years, and they give a good insight in the preferences of the web hosting industry. You can see that Apache was the top player for years (in 2005 almost 70% of all websites were based on Apache), but Microsoft has been catching up quite strongly (now 52% Apache, 32% Microsoft). See http://news.netcraft.com/ for more details. Thats not to say linux or windows is the 'best' host of course, other factors like economics and high scalability count in too.
Reply to this comment
by Jeff Putz January 16, 2009 11:59 AM PST
Netcraft isn't very relevant anymore, as we've seen wild swings in either direction every time a big domain parker like GoDaddy switches between one or the other.
by Martijn van Berkum January 17, 2009 2:04 AM PST
That's true, but it still gives valuable information about web hoster preferences, and as far as I know it's the only source of objective statistics. It gave much more insight in the early days though..
by MSSlayer January 16, 2009 12:03 PM PST
Linux has always had the lead, in choice, compatibility, price, stability, performance, security, everything.

The language does matter Matt. You should really understand programming if you are going to pretend you are competent enough to work for a software and services company.
Reply to this comment
by bbneo2 January 16, 2009 12:30 PM PST
Simple question:

Do you want to be Microsoft's b*tch, or do you want to be your own man?
Reply to this comment
by Jeff Putz January 16, 2009 12:36 PM PST
Simple minded, perhaps. Successful people don't spend a lot of time getting caught up in stupid religious wars.
by MSSlayer January 16, 2009 9:00 PM PST
Smart people don't let themselves get locked into an expensive treadmill, especially when there is no reason to do so.

Go be dependent on MS. The rest of us are happy being able to call the shots, instead of being told what we need, when we need it.
by loose_screw January 16, 2009 12:48 PM PST
The problem with Windows is maintenance: that you have to keep applying patches and run anti-virus software. Linux is a much better solution from a manageability standpoint.
Reply to this comment
by rapier1 January 17, 2009 6:41 PM PST
So you don't apply security patches to your linux installs and applications?
by random truth January 17, 2009 10:20 PM PST
rapier1
The thing is in linux it is automatic. Also you dont have to defragment your disks (filesystem does not get fragmented easily), run antivirus, or worry about hackers nearly as much. Just from a security point I though this was obvious. 80% of the exploits for webservers is for windows.
by DrtyDogg January 16, 2009 2:00 PM PST
Linux vs. Windows: Which is a better Web host?

A: If you are using .Net Windows otherwise Linux.
Reply to this comment
by Kaiser Computers January 16, 2009 6:43 PM PST
For small business and executives looking to cut-cost by the use of Open Source Software there is question you want to use a linux enviornment, with all the wonderful Open Source PHP/MySql & Java Applications being released everyday, there is no date Linux is superior for the host of your back-end environment.

However for typical Desktops Windows still beasts any Linux variation for ease of use,.

http://kaisercomputers.com
Reply to this comment
by wanderson January 16, 2009 8:53 PM PST
Many of the comments from "so-called" web professionals who advocate Microsoft Windows for web serving, particularly in large implementations are simply dillusional.

A cursory look at all the "very large Media companies" - e.g. ABC, NBC (not MSNBC), Fox, PBS, CBS, NASA, Boeing, all large universities with possible exception of Cornell, and most Fortune 500 will show that most - probably more than ninety percent use *NIX. Even Akami, on whom Microsoft relies for "heavy duty" web hosting during major releases, etc. uses *NIX. Why? They could not do job themselves.

A perfect "factual" story is that were contracted MacWorld hosting company - using Windows crashed under the load - at iphone introduction, so Apple resorted to their own *NIX web hosts to stay up. Another is the European Union Public Safety and Health site - supporting more than 300 million users in twenty six countries in 10 languages. They found in test for fairness of consideration for Windows that it could not even start site up.

Give me a break you guys - this is 2009, not some fairyland in the future.

W. Anderson
wanderson@nac.net
Reply to this comment
Showing 1 of 2 pages (50 Comments)
advertisement

After 5 years, Firefox faces new challenges

Mozilla helped reshape the Web since releasing Firefox 1.0 five years ago. Now it's got a reawakened Microsoft and Google Chrome to reckon with.

There's a map for that: GPS or smartphone?

Almost every handset comes with mapping software these days, but standalone GPS devices are becoming more affordable than ever.

advertisement

About The Open Road

Matt Asay brings a decade of in-the-trenches open-source business and legal experience to the Open Road, with an emphasis on emerging open-source business strategies and opportunities. Matt is general manager of the Americas division and vice president of business development at Alfresco, a company that develops open-source software for content management. He is a member of the CNET Blog Network and is not an employee of CNET. Disclosure.

Add this feed to your online news reader

The Open Road topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right