Web Server Software Configuration and Selection

Are you sure you are using the right web server software? There are several choices, and most of them are free. Here are a few of the more popular ones that I have experience with.
  • Apache
  • Nginx
  • Litespeed
No matter what web server software you are using, it can likely be configured better for your own purposes. If you do not know enough about your web server to configure it, you should probably hire someone to help you. It can get pretty detailed.
Let's go over some pros and cons of each server.


Apache


Apache is free and is the most used webserver on the web. Because it is so well used it also enjoys great documentation. A pretty good portion of tutorials on the web kinda assume you have Apache because it was used by just about every website not too long ago. The default install of Apache is not the best performer, but it has so many users and modules and add ons that it can be made to do just about anything.
Our goal for now is to improve server response time, and Apache is highly configurable and alot of people know how to do so. Apache is a safe bet for just about any website, but it has to be configured well by a knowlegeble person to do its best. Php runs at an average pace.


Nginx


The Nginx web server is free and it is the darling of most high traffic websites and for web developers because it performs like a dream even at its default install. Nginx uses less resources and can therefore handle much more traffic than just about any other webserver out there. Nginx typically has the fastest server response time in my experience. PHP runs fast with Nginx.


Litespeed


Litespeed webserver has free versions and paid versions. It is much faster and performs better that Apache, with the added benefit of being completely compatible with Apache. Any configurations you make to Apache are respected by Litespeed and it uses the same .htaccess file as Apache. This means that moving to Litespeed is pretty painless for Apache users. PHP runs six times faster with Litespeed.

Comments

Popular posts from this blog

​HOW PAGE LOAD TIME WORKS