Portal Home > Knowledgebase > Articles Database > What is the best web software to run [Apache] [Nginx] [apache2]


What is the best web software to run [Apache] [Nginx] [apache2]




Posted by HyperServers, 04-09-2017, 11:05 PM
Hello, I am really new to this site and i was wondering if this is the place to post this question. My name is Brad, I am wondering. Lets say. my main site is ran off apache and someone tries to do a slowloris attack on my site. It literally goes down... I've heard with Nginx these problems no longer exist. But the site reading code is different compared to apache and apache2 I was wondering what is the best option for me. I will also be looking into hosting 3 types of cpanel servers to host clients sites off. So they can choose between. apache, apache2 and Nginx But obiously me being new to web hosting and starting off small. i don't want to be spending 100's a month just hosting apache sites. I do know quite a lot about HTML and Php. But that's just the start of it. The whole reason i am wondering about what software to go with because I've been told about the Pros and cons of the softwares mentioned above. Securing websites is easily done from my end but for clients looking to work on portfolios and other stuff maybe a small - medium or large gaming community, They want the best performance possible and so do I. I am currently running apache and apache2 on my game server. My game server is new but it's just for personal games that i play with a few friends. I have seen that apache2 has been faster in loading and smoother in general but for a general use prospective for clients anyway. i was wondering what is the best route to go down. [Note] This software will host the cpanel site and be the backend software the helps cpanel run and maybe even WHMCS ( the billing software ), Working with new software for me personally is easily picked up. Learning it isn't the hardest thing in the world. But knowing the pros and cons and what's best to choose from would help out a lot. Thanks for reading. -Brad Last edited by HyperServers; 04-09-2017 at 11:11 PM. Reason: trying to make clear what i am saying

Posted by r00tb33r, 04-10-2017, 04:36 AM
Have you considered cloud hosting? Like AWS, Azure, DigitalOcean, etc. Have a read of this: https://d0.awsstatic.com/whitepapers...hite_Paper.pdf

Posted by HyperServers, 04-10-2017, 05:30 AM
Hey. AWS has a ton of limits and if you exceed your limits they heavily charge you. It sucks. So that is why i won't ever be going with AWS. Anyway. I wouldn't want to have a companies clients on a AWS server at all. i would rather have it on a Dedicated Server. Also. What is the best web software to use for hosting websites. cPanel and what? Nginx or Apache or Apache2... Also anything else you could possible let me know about would be awesome Thanks for reading! -Brad

Posted by dedicatedservers24, 04-10-2017, 05:34 AM
On my servers, I use apache web server (latest edition) with Linux centos64bit, dedicated server specs, intel e3 1240 processor, 16gb ram, 80gb ssd hard drive with raid 1 configuration, 1gbps netwrork ports, hosted within the datacentre. I agree, steer clear of azure and amazon s3, they work great but they are way to expensive with very little support. Regards, David.

Posted by HyperServers, 04-10-2017, 05:40 AM
Hey. Well. For one. A VPS is out of the question. I already own a dedicated server with these specs. ================================== Processor: Intel Xeon W3520 Cores/Threads: 4 cores/ 8 threads Frequency: 2.66 GHz+ RAM: 16GB DDR3 ECC Disks: 2 x 2 TB SATA ( Raid 0 ) Network card: 1 Gbps Bandwidth: 250 Mbps ================================== With a 4TB hard drive. with daily backups to an on site and off site server we are pretty well prepared encase one of the drives fails. The point that i am trying to get at is. What's the best web software to run. If you just stick a cPanel on a server. I am pretty sure it won't run without httpd or php. So with Php7 and Apache2 it should run flawlessly right. But what i am trying to get at is. What is the best software to run. Apache2 or Nginx or just regular Apache. Anything else you can tell me is a bonus Thanks for reading. -Brad

Posted by r00tb33r, 04-10-2017, 06:57 AM
Your inquiry is really confusing. First you say you want DDoS resilience, then when given the solution say you want to do the opposite. My understanding of you is: 1. Either you have a reason to fear DDoS because you have experienced one, or you and your clients have a reason to be a target of a DDoS (you made a lot of non-friends), but for some reason refuse to spend on the necessary protection 2. Or you are being paranoid about possibility of a DDoS for no reason at all, and will be equally paranoid about any suggestion given to you So which is it? As to choices of webserver, between IIS, apache, apache 2, and nginx, each have a user base with software tailored to each. As a general purpose webserver nginx seems to be the most resilient and the fact that it's standard for all shared hosting today should tell you about what kind of connection load it can handle. If your clients just need servers but don't need to be on the internet, then you can run a private network instead and have all resources accessible via a VPN or another solution. This greatly reduces chances of an attack on a webserver. (because the attack will be handled on lower layers of network model) Speaking of layers, that PDF I linked you to has some valuable info on how different types attacks are handled.

Posted by HyperServers, 04-10-2017, 07:10 AM
Hey. The thread title says it all. what is the best software to go for. The reason i mentioned about ddosing / ddos protection is because i know for a fact Apache can be exploited with slowloris. aka layer 7 ddosing... which i don't want any of my clients to experience. the whole point of this thread is about software and what to choose from. between Nginx, Apache or Apache2. Well. Okay it's not your fault you got a bit confused between what was going on. It's okay honestly. Plus yes i have been ddosed before. I know what it's like. But forget ddos protection or patches. what about performance what's best between the softwares I have mentioned above. Thanks for reading! -Brad

Posted by r00tb33r, 04-10-2017, 07:13 AM
Do you have a reason not to use nginx?

Posted by MrTony, 04-10-2017, 07:21 AM
Brad, handling DDoS Attacks in your website is a bit different than trying to guess which is the best webserver. In my opinion all them are good, but it depends on how you will setup them, Apache has many worker options, allowing you to extrapolate everything from your environment, nginx is also great with it's event driven engine, which is possible in apache via mpm_event, so well, checking the docs is always good. Regarding the attacks, you need a reliable network, prepared to handle them for you, as trying to solve it on your server, will result in troubles.

Posted by HyperServers, 04-10-2017, 07:37 AM
Hey. I have never used Nginx before. so it will take some getting used to... Plus i was wondering if it's best to stick with apache or switch to nginx. i never said i don't want to switch or i don't like a certain software. I like all of them. it's just with multicraft and standard site work. i have used apache. and that's it. I am willing to learn what i need to learn. But from a company point of view hosting many clients on cPanel web servers. what is the best software to use. for the backend. As well as WHMCS. I want a site that's fast and has few to little exploits. I currently use OVH for my dedicated servers and i am with them because 1. They are cheap, 2, They are heavily protected with layer 4 attacks ( amazing for game servers ) and 3. because i've been with them for as long as i can remember. Thanks for reading. -Brad

Posted by r00tb33r, 04-10-2017, 07:42 AM
I went from Apache to nginx and didn't notice much difference. From usage standpoint the only challenge is module availability, I'm sure you read all about that. As long as all you need is already available for nginx (and if you're not doing something that everybody else is not doing) then nginx probably already has it covered. If you observe market share trend nginx is gaining market roughly at the same rate that Apache is losing it. Also if you look at installed base almost nobody uses Apache v1 anymore. BTW cPanel and WHMCS do run on nginx.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Innohosting (Views: 660)
DHD Down? (Views: 700)

Language: