Apache vs Nginx?

roggy

New member
Joined
Jan 24, 2015
Messages
99
Points
0
I have a series of questions and wanted some one help me the best answers

What is Apache or Nginx? for running websites which is better?
Windows and Linux, what is the advantage of each one and which one should I install on which web server? why?
 

RDO Servers

New member
Joined
Apr 3, 2015
Messages
770
Points
0
Hey Roggy,

Apache and Nginx are both web server programs. The software that is installed on the servers, and actually processes/renders website files when a user visits your site.
Apache has long been the standard, as it is typically pre-installed with Linux. However it is NOT the fastest. Nginx and Litespeed are both much better options.

Wither you use Linux or Windows, depends on what languages your website use.
If your website use asp.net, then you will need Windows hosting, as it will not run well on Linux.
php and pretty much every other language will run on Windows or Linux, but it is usually better to run php on Linux. Some hosts charge more for Windows hosting, some do not. So be sure to check the price differences as well.

Hope this helps!
 

anhbloginc

Member
Joined
Jun 24, 2015
Messages
101
Points
18
Hi RDO Servers,

I have a question want to ask you about VPS. This is just a personal question. It's not related to any of services you are providing right now.

A few days ago, I read a post on shoutmeloud.com about Cloudways.com. They are providing cloud hosting with optimized application, including Wordpress. Their service are based on Digital Ocean, Vultr, Amazon and Google Cloud Computing.

They are offering trial periods for customers who want to try their service. I also applied a free trial slot to try and found that they are installed both Apache and Nginx on the VPS.

So the question is what's the purpose in this case? As I know, they are both web server and run one of them are fine. Why they need both?

Hey Roggy,

Apache and Nginx are both web server programs. The software that is installed on the servers, and actually processes/renders website files when a user visits your site.
Apache has long been the standard, as it is typically pre-installed with Linux. However it is NOT the fastest. Nginx and Litespeed are both much better options.

Wither you use Linux or Windows, depends on what languages your website use.
If your website use asp.net, then you will need Windows hosting, as it will not run well on Linux.
php and pretty much every other language will run on Windows or Linux, but it is usually better to run php on Linux. Some hosts charge more for Windows hosting, some do not. So be sure to check the price differences as well.

Hope this helps!
 

RDO Servers

New member
Joined
Apr 3, 2015
Messages
770
Points
0
As far as I know they may be using both Apache and Nginx together to simplify the operations.

Both web servers can handle static as well as dynamic files, but Nginx can handle static files precisely and can serve it quickly and directly to the client, but if any dynamic file request like PHP file, then Nginx will proxy the request to Apache, which can then process the results and return the rendered page. Nginx can then pass the content back to the client.

Nginx here act as a reverse proxy this will allow Nginx to handle all requests from clients. This takes advantage of Nginx's fast processing speed and ability to handle large numbers of connections concurrently. It will handle all requests it can and pass on the ones that it has no native ability to serve to Apache so by dividing the work between web servers, processing gets much better in this manner.
 
Older threads
Replies
32
Views
13,313
Replies
61
Views
25,070
Replies
4
Views
2,638
Replies
2
Views
2,806
Replies
6
Views
2,874
Newer threads
Replies
5
Views
3,371
Replies
28
Views
10,286
Replies
1
Views
1,983
Latest threads
Replies
0
Views
590
Replies
2
Views
789
Similar threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top