How to build a Web service in a Windows system

Source: Internet
Author: User
Tags iis web services port number

I. WWW overview

(1), www overview

www (World Wide Web) Service: Web services, refers to the online publishing, and can be viewed by browsing the graphical page service

The World Wide Web service is implemented by establishing a website

"Apahce"

Open source software, users can download the use of free, support UNIX, Linux, Windows and other operating systems

APAHCE is characterized by simplicity, efficiency and stable performance.

"IIS": Internet iformation Service

IIS is Microsoft's Web server product, and IIS provides a graphical interface management tool, called Internet Services Manager, for configuring and managing Internet Services

IIS includes Web services, FTP services, browsing Web pages, transferring files, respectively

(2), IIS overview

IIS provides the ability to use an integrated Web server on the Internet, intranet, or extranet, which is reliable, scalable, secure, and manageable

IIS can create powerful communication platforms for dynamic network applications

IIS7.0 is the latest version of IIS, which is the Web server role in Windows Server 2008

"IIS 7.0 has the following improvements relative to previous versions of ISS"

A unified W-EB platform for administrators and developers to provide a consistent web solution

b Enhanced security and custom servers to reduce attack surface functionality

C simplifies diagnostic and troubleshooting functions to facilitate problem solving

D improved configuration and support for server farms

Ii. Installing and configuring a Web site

(1), Installation IIS7.0

Server Manager →→ role →→ Add role →→web server (IIS)

IIS Default site: http://localhost or http://127.0.0.1

(2), configure the Web site

You can use Internet Information Services Manager to configure IIS
1, configure the site's IP address and TCP port

' All Unassigned ' in ' edit bindings ' to indicate that this site will respond to all IP addresses assigned to that computer but not assigned to other sites

Default port for Web service ' tcp/80 ', access mode HTTP://IP, "HTTP://IP: Port number"

"Binding Type"

HTTP (Hypertext Transfer Protocol), a Hypertext Transfer protocol, used to interact between the client and the server, and the interactive information is transmitted in clear text

HTTPS (Secure hypertext Transfer Protocol), the Secure Hypertext Transfer Protocol, is a secure version of HTTP that encrypts interaction between client and server using SSL (secure Sockets Layer, Secure Sockets Layer)

2, configure the site's physical path and connection restrictions

The physical path to the site is the local or remote path where the site's paging file resides

Physical path to default site:%systemdriver%\inetput\wwwroot

%systemdriver% is a system variable that represents the disk character of the system.

3. Default Document

Default documents that the system has set: Default.htm, Default.asp, index.htm, index.html

The default document order is from the top down, that is, when the user visits the site, first check the physical path of the site there are no Default.htm files, if there is, if not then check the second file, and so on

If there is no default document in the physical path and the user does not specify the requested file, the user gets an incorrect hint

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/web/

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.