When choosing a webserver hosting platform, you are generally faced with two options: Linux or Windows. Each of these two choices has its own distinct advantages and disadvantages. However, the Linux server in the end is the more flexible and better choice for most webhosting purposes for reasons we will discuss below.

The one other major reason to choose Linux over windows is because of stability. Now Windows has made strides in this category, but still cannot quite match Linux in terms of uptime and durability. While both platforms now can stay up for months at a time, Linux is still better at not crashing over long periods of time. Linux also has less people exploiting its holes for security problems. A windows box on average runs five or six times the risk of being hacked on the root level than a Linux box, if for no other reason than because there are more people interested in hacking Windows than Linux.
With the reasons of better software, stability, and security, it is easy to see why Linux would be the platform of choice for most webhosting purposes.