The role of Web server!

Source: Internet
Author: User

Common Web servers:Apache and Nginx (Linux Platform) IIS (window platform)

Many small business small projects currently do not necessarily use a Web server, because a single application server can be supported under traffic.

In practical work, I realized the role of Web server:

1. Load Balancing

2. Proxy forwarding request, more secure, do not directly expose the application server IP to each other, because the application server has code and so on

3. The Web server can unify statistics and processing so requests, such as having log records of all visited URLs, as well as statistics.

4. The Web server can also be forwarded to different application server addresses for different URLs.

such as aaa.com/bbb/ccc.html forwarding a application server; aaa.com/ddd/ccc.html forwarding B Application Server

5. The application server can be thrown by all 503 of all error pages to the unified jump into its own set of HTML page, or to a unified error system inside the exception.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.