Hi im trying to start a hosting company, i will sell reseller, shared hosting, domains, etc. i would like to know which webserver recommend me, im worried because apache could be slow in the future, i saw nginx is very fast algo litespeed, but i cant decide yet. im going to use cpanel also to manage the accounts. thank you very much.
Nginx + Varnish if you have => Less budget ,better knowledge of servers ,can able to configure nginx on any performance issue. Litespeed => Have good budget ,Less maintainence needed . Performance wise ? Both are moreorless equivalent .
Both are faster than Apache. However, if you want to provide web hosting, I would strongly suggest LiteSpeed over NGINX. Why? Because NGINX doesn't support .htaccess files and is more complicated to manage. Most of your clients will be using .htaccess files, so you have to make sure your web server supports them. LiteSpeed is a drop-in replacement for Apache and basically provides the same features, but better performance. The only downside is that it's commercial, ie. you have to pay for it.
LiteSpeed is a great product and has seamless integration with cPanel. The only disadvantage with NGINX is that it's not PHP ready out of the box. You either use Apache to serve PHP or FastCGI. LiteSpeed has native LSPHP that has greater compatibility with it.
Nginx is ok if your budget is limited or apache compatibility is not needed. If you need apache compatibility the litespeed (if you can afford it ). Cloudlinux is an OS, not webserver. It's a nice product for webhosting, again, if you can afford it because it's commercial. The other middle solution is to keep apache, optimize it and install nginx as a reverse proxy (there is a plugin for WHM that will help with that).
I prefer nginx over apache personally due to speed and low memory foot print. The number of concurrent connections it can handle it comparison is pretty mind boggling.
Yes, Cloud-Linux is more Stable and Secure for Shared hosting Environment. Regarding the webserver ngnix with Varnish is pretty good as it accelerates and load-balances the Server.
Litespeed is essentially a drop in replacement for Apache that has all the benefits of Nginx. Best of both worlds. I have worked with a hosting company called WiredTree that uses LiteSpeed and I have never heard any of their clients voice issues with speed. http://www.wiredtree.com/blog/litespeed-replacement-for-apache/
I personally use Nginx, this is the plugin I use for WHM http://cpnginx.com/ For $5 a month it's worth it pages load faster and I don't have to worry about Litespeed needing to copy EasyApache after reconfig. Nginx is also good with handling high amounts of traffic and HTTP DDoS.
We use NGINX -> Varnish -> Apache (Event MPM), FastCGI (opcode cached) and we find it is just as fast as LiteSpeed, used by another of our Brands. http://www.unixguru.co.uk/hosting-features/nginx-varnish-accelerated-apache The advantage that NGINX has over Litespeed for static data is the size of the processes/threads. NGINX has a much smaller footprint and uses less memory, therefore you can have more of them. We have considered using NGINX -> Varnish -> Litespeed, but then with varnish, litespeed is not as necessary.
I think Nginx is a much better option. A lot of our projects uses nginx. You can check more about us and read some interesting articles regarding nginx from our community[1] section if you are interested. [1] https://www.atlantic.net/community/
It actually depends on whether you are using mainly scripts and processing or delivering static objects. NGINX is faster than APACHE at transfering Static Objects LITESPEED is faster than NGINX at launching and running PHP (even apache with mod_php is faster than NGINX for launching PHP) The above are facts you can research them on the web. NGINX does take much less memory overhead, but pure performance if you have the overhead goes to LiteSpeed
So I am new to this topic. I have a website on a dedicated server, and Google PageSpeed tells me to speed it up. So if I buy the 8-CPU Owned LiteSpeed ($1,999) they install it and I have no downtime? Or I install it? And does it require re-coding of the website at all?
No re-coding should be necessary. If you're not running a shared hosting platform on the server (I.E. the sites are yours), you might want to consider openlightspeed, you'll get most of the performance improvements including lsapi (though lsapi is now available with Apache in combination with CloudLinux). Openlightspeed doesn't support .htaccess files, but does support .htaccess directives on a per host basis via the LS administration panel.