hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Apache vs lighttpd vs nginx
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Apache vs lighttpd vs nginx

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-26-2009, 12:00 AM
ryan14 ryan14 is offline
Web Hosting Guru
 
Join Date: Mar 2006
Posts: 264
Question

Apache vs lighttpd vs nginx


What is the best free server software to use out of Apache/lighttpd/nginx?

Apache: Has it fixed the c10k problem of handling 10,000 simultaneous connections on a single server?

lighttpd: Not as big a developer base than Apache and has it fixed memory leak problems?

nginx: Pretty fast with caching but has problems with url rewriting?

Be interesting to know your opinions.

I need one that has no bugs and is fully compatible with php5, mysql, ssl, javascript, all web browsers.

Reply With Quote


Sponsored Links
  #2  
Old 08-26-2009, 12:37 AM
activelobby4u activelobby4u is offline
Your support partner
 
Join Date: Apr 2005
Location: Queen of Arabian Sea
Posts: 2,213
apache is still the majorly used and best supported web server software

__________________
Sandy
Supportlobby.com - Redefining Hosting Support
Spiralbean.com - Lightning Speed Lightning Ideas

Reply With Quote
  #3  
Old 08-26-2009, 12:44 AM
kohkindachi kohkindachi is offline
Junior Guru
 
Join Date: Apr 2006
Posts: 175
what about Cherokee HTTP Server?

Reply With Quote
Sponsored Links
  #4  
Old 08-26-2009, 01:01 AM
yajur yajur is offline
Web Hosting Master
 
Join Date: Nov 2007
Location: India
Posts: 841
nginx is the best from my point

__________________
HostNotch Hosting Services 99.9% uptime Shared Hosting, Reseller Hosting
yajur | Sales Team
CPanel Hosting • R1 Soft • Offsite-Backup • Great Uptime
http://hostnotch.com sales @ hostnotch.com

Reply With Quote
  #5  
Old 08-26-2009, 01:14 AM
ramnet ramnet is offline
Virtually Flawless ;)
 
Join Date: Apr 2009
Location: USA / UK
Posts: 4,512
each of these servers is perfected for a specific task.

1) if you need .htaccess / .htpasswd, or if you need the features of mod_php, mod_perl, mod_layout, mod_whatever, or extended ssi, you'll want apache.

2) if all you need if static file serving, or if you want a really good reverse proxy to another http server, you'll want nginx.

3) if you need cgi/ssi/php, but don't need .htaccess / .htpasswd or any other apache-specific module, you'll want lighttpd.

4) if you need a simple web server that can do static and cgi, i'd suggest thttpd.

I use all 4 of the servers mentioned above for various things - nginx to protect apache from DoS attacks and handle ssl, lighttpd to handle simple sites that need php (and mod_secdownload) but nothing fancy beyond that, and thttpd to handle a site that has a few cgi and static files.

Also, I don't think apache has solved the c10k problem, and nginx doesn't have a rewrite problem afaik, and I'm pretty sure lighttpd doesn't leak memory anymore (at least the one in debian 5 doesn't seem to).

__________________
RAM Host -- Premium & Budget Linux Hosting From The USA & EU
█ Featuring Powerful cPanel CloudLinux Shared Hosting
█ & Cheap Premium Virtual Dedicated Servers
Follow us on Twitter

Reply With Quote
  #6  
Old 08-26-2009, 01:16 AM
kohkindachi kohkindachi is offline
Junior Guru
 
Join Date: Apr 2006
Posts: 175
are we able to use more than 1 or a server?

Reply With Quote
  #7  
Old 08-26-2009, 01:49 AM
ramnet ramnet is offline
Virtually Flawless ;)
 
Join Date: Apr 2009
Location: USA / UK
Posts: 4,512
Quote:
Originally Posted by kohkindachi View Post
are we able to use more than 1 or a server?
yes you can use more than 1 httpd at a time - running on different ports and/or ip addresses.

__________________
RAM Host -- Premium & Budget Linux Hosting From The USA & EU
█ Featuring Powerful cPanel CloudLinux Shared Hosting
█ & Cheap Premium Virtual Dedicated Servers
Follow us on Twitter

Reply With Quote
  #8  
Old 08-26-2009, 01:54 AM
10gbus 10gbus is offline
WHT Addict
 
Join Date: May 2009
Posts: 149
Try litespeed. It supports all feature apache has

Reply With Quote
  #9  
Old 08-26-2009, 03:28 AM
yajur yajur is offline
Web Hosting Master
 
Join Date: Nov 2007
Location: India
Posts: 841
Quote:
Originally Posted by 10gbUS View Post
Try litespeed. It supports all feature apache has
but it $$

__________________
HostNotch Hosting Services 99.9% uptime Shared Hosting, Reseller Hosting
yajur | Sales Team
CPanel Hosting • R1 Soft • Offsite-Backup • Great Uptime
http://hostnotch.com sales @ hostnotch.com

Reply With Quote
  #10  
Old 08-26-2009, 03:30 AM
IRCCo Jeff IRCCo Jeff is online now
CISSP, CISA
 
Join Date: Aug 2002
Location: Los Angeles, CA
Posts: 5,036
Quote:
Originally Posted by yajur View Post
but it $$
There is a very good reason for this. The software is rock solid, the performance is outstanding, and it is a well rounded product handling all of the elements ramnet was discussing in one package.

__________________
Black Lotus - Carrier Neutral Datacenter & DDoS Mitigation Solutions
Access to over 200 carriers | 60A per cabinet | Local, remote, proxy, and BGP GRE DDoS protection

>>> Take a virtual tour of the Black Lotus LA2 datacenter, our own Tier III facility


Reply With Quote
  #11  
Old 08-26-2009, 03:35 AM
yajur yajur is offline
Web Hosting Master
 
Join Date: Nov 2007
Location: India
Posts: 841
Quote:
Originally Posted by IRCCo Jeff View Post
There is a very good reason for this. The software is rock solid, the performance is outstanding, and it is a well rounded product handling all of the elements ramnet was discussing in one package.
Jeff i to tried litespeed webserver,in that i seen when i shifted from apache to litespeed i saw RAM useage is lowered from 60% to 12%then i installed nginx,where i saw the ram usage is gone to 40% but the server load is reduced from 2 to 0.50

totally litespeed will take some what load but the ram usage will be less in nginx the ram usage will be high but server load is lowered

__________________
HostNotch Hosting Services 99.9% uptime Shared Hosting, Reseller Hosting
yajur | Sales Team
CPanel Hosting • R1 Soft • Offsite-Backup • Great Uptime
http://hostnotch.com sales @ hostnotch.com

Reply With Quote
  #12  
Old 08-26-2009, 10:29 AM
inspiron inspiron is offline
Support Facility
 
Join Date: Jun 2009
Posts: 2,318
Nginx and lighttpd are better for low-memory environments such as on VPS. Apache is good if you want a wide range of configuration options.

__________________
Support Facility | 24/7 web hosting technical support services
Technical support | Server management | Data migration

Technical Articles

Reply With Quote
  #13  
Old 08-26-2009, 05:37 PM
HD Fanatic HD Fanatic is offline
Web Hosting Master
 
Join Date: Jan 2005
Posts: 2,099
Litespeed would be your best bet. A user reports that it handled 100,000 http requests per second. 10,000 connections doesn't even bring the server down.

http://www.litespeedtech.com/support...9&postcount=16

Read the whole thread.

Reply With Quote
  #14  
Old 08-26-2009, 09:54 PM
ryan14 ryan14 is offline
Web Hosting Guru
 
Join Date: Mar 2006
Posts: 264
do you have instructions on how to run nginx in front of apache to protect apache from dos attacks? And does this work with cpanel?

Quote:
Originally Posted by ramnet View Post
each of these servers is perfected for a specific task.

1) if you need .htaccess / .htpasswd, or if you need the features of mod_php, mod_perl, mod_layout, mod_whatever, or extended ssi, you'll want apache.

2) if all you need if static file serving, or if you want a really good reverse proxy to another http server, you'll want nginx.

3) if you need cgi/ssi/php, but don't need .htaccess / .htpasswd or any other apache-specific module, you'll want lighttpd.

4) if you need a simple web server that can do static and cgi, i'd suggest thttpd.

I use all 4 of the servers mentioned above for various things - nginx to protect apache from DoS attacks and handle ssl, lighttpd to handle simple sites that need php (and mod_secdownload) but nothing fancy beyond that, and thttpd to handle a site that has a few cgi and static files.

Also, I don't think apache has solved the c10k problem, and nginx doesn't have a rewrite problem afaik, and I'm pretty sure lighttpd doesn't leak memory anymore (at least the one in debian 5 doesn't seem to).

Reply With Quote
  #15  
Old 08-26-2009, 10:03 PM
CretaForce CretaForce is offline
Greece
 
Join Date: Jan 2004
Location: Greece
Posts: 2,039
Quote:
Originally Posted by ryan14 View Post
lighttpd: Not as big a developer base than Apache and has it fixed memory leak problems?
My company uses lighttpd on more than 15 servers hosting more than 2.000 websites. If there were memory leak problems I am sure we would find them.

__________________


Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lighttpd/Nginx x-senfile/X-Accel-Redirect, possible action after download? gurika Hosting Security and Technology 7 10-30-2011 02:17 PM
Low memory cps with support for nginx or lighttpd ldl Hosting Software and Control Panels 0 06-30-2009 08:52 AM
Anyone got RT 3.8.0 to run with lighttpd or nginx? Darvil Hosting Security and Technology 1 09-04-2008 09:21 AM
nginx works with apache, but... surfmanjoe Hosting Security and Technology 1 08-14-2008 12:51 AM
Requires Lighttpd expertise: Apache Rewrite Rules to Lighttpd format realrena Employment / Job Offers 2 01-16-2008 08:46 PM

Related posts from TheWhir.com
Title Type Date Posted
Apache Loses 9.9 Million Sites in Netcraft April 2013 Web Server Survey Web Hosting News 2013-04-03 14:42:33
Netcraft Continues to See a Drop in Responses for July 2012 Web Survey Web Hosting News 2012-07-03 14:35:26
nginx Sees Largest Market Share Growth in Netcraft March Server Survey Web Hosting News 2012-03-05 14:05:29
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
nginx Continues Market Share Momentum in Netcraft February Web Server Survey Web Hosting News 2012-02-09 17:29:14


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?