Building of Windows 2003 ASP Dynamic Web site

Source: Internet
Author: User
Tags iis port number root directory

Step 1th, in the Internet Information Services (IIS) Manager window, right-click the Web site directory, and select new → Web site.

Step 2nd, open the Web Site Creation Wizard dialog box, and click Next in the Welcome dialog box. Open the Web Site Description dialog box, enter a text message describing the content of the site in the description edit box, and click the Next button.

Step 3rd, you can set the IP address and port number of the new Web site in the open IP Address and Port Settings dialog box. Click the Drop-down triangle button to the right of the site IP address edit box to select an IP address that is not occupied by another Web site in the Drop-down menu. Leave the default value of 80 unchanged in the site TCP port edit box, and click the Next button.

Tip: Port 80 is the standard port assigned to HTTP, primarily for publishing web sites. If you create a Web site that is a public site, simply use the default 80 port. When a user enters a URL or IP address in a browser, the client browser automatically attempts to connect to the Web site on port 80. If the Web site has a special purpose and you need to enhance its security, you can set a specific port number.

Step 4th, open the Site Home Directory dialog box, and click the Browse button to select the home directory where the dynamic Web site resides. Click OK → Next button in turn.

Tip: If the Web site is a publicly published Web site, you can leave the Allow anonymous access to the Web site check box selected so that any user can connect to the Web site. If you want the site to be a special web site that needs to authenticate user access, you need to cancel this check box to prevent users from accessing it anonymously.

In the 5th step, in the open Web Site Access Permission dialog box, leave the default permission settings and click the Next button. Open the complete Web Site Creation Wizard dialog box, and click the Finish button.

Tip: Users can set the site's access rights according to their actual needs, and the actions allowed by each permission are described below:

Read allows the user to read files from the Web site;

Run scripts (such as ASP) allows you to run the Active Server page (Active Server pages,asp) script in a Web site;

"Execute (such as ISAPI application or CGI)" allows an ISAPI or CGI application to be executed on the Web site, and the Run Script permission is automatically enabled when the permission is enabled;

Write allows the user to write data to the Web site through the client browser (such as filling in the registration form, etc.);

Browse when a user does not send a request to a Web site for a specific file, and the default document is not defined in the Web site, IIS returns the HTML representation of the files and subdirectories under the site's root directory.

The 6th step, based on security considerations, IISS 6.0 disables ASP program support properties by default, requiring users to manually turn on this feature. In the Internet Information Services (IIS) Manager window, expand the server → Web server Extensions directory, and then select the Active Server Pages option in the right pane and click the Allow button.

Step 7th, in the Internet Information Services (IIS) Manager window, right-click the ASP Dynamic Web site name, such as Blog.aqfy.net, and select the Properties command. In the Open Blog.aqfy.net Properties dialog box, switch to the Documents tab and click the Add button. Open the Add Content Page dialog box, and in the default content page edit box, enter the default first-page file name for the ASP Web site (typically index.asp). Click the OK → OK button in turn.

At this point, the server-side settings for the ASP Dynamic Web site completed successfully. The user needs to copy the developed ASP website source program to the website home directory, thus realizes the ASP dynamic website release.

Related Article

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.