Apache vs Nginx?

Joined
Jan 24, 2015
Messages
57
Best answers
0
Ratings
6
Points
0
#1
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

Well-known member
Joined
Apr 3, 2015
Messages
1,027
Best answers
1
Ratings
417 3
Points
83
#2
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

Active member
Joined
Jun 24, 2015
Messages
68
Best answers
0
Ratings
13
Points
0
#4
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

Well-known member
Joined
Apr 3, 2015
Messages
1,027
Best answers
1
Ratings
417 3
Points
83
#5
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
26
Views
4,204
Replies
13
Views
1,914
Replies
4
Views
1,042
Replies
2
Views
1,017
Replies
6
Views
849
Newer Threads
Replies
4
Views
976
Replies
5
Views
1,388
Replies
12
Views
1,346
Latest Threads
Replies
0
Views
13
Replies
0
Views
29
Replies
7
Views
47
Replies
2
Views
39
Recommended Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

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