Web Development--02 (development environment configuration)

Source: Internet
Author: User
Tags access properties ftp file ftp file transfer

1, install IIS

IIS is the abbreviation of Internet Information Server, Internet Information Service, is a kind of web service, mainly including WWW server, FTP server and so on. It makes it easy to publish information on an intranet (local area network) or on the Internet (Internet). You can use IIS to establish the most common HTTP Web server, FTP file Transfer server, and SMTP mail server on your computer host for basic Web browsing, file transfer, and e-mail functionality.

(1) Win7 installation

    • Open the Control Panel and click on "Programs and features"

    • Click "Turn Windows features on or off"
    • Tick "Internet Information Services"
    • Click "OK" to wait for the installation to complete
    • Once the installation is complete, go back to the control panel and find "Administrative tools" to see the Startup shortcuts for IIS

(2) configuration

Double-click the Internet Information Services (IIS) Manager shortcut, double-click the Web site of the tree window on the left to see the default site items

Select "Default Web Site" To set, right click, select the Menu bar's properties options

    • Web site: Setting external access properties for a Web site
    • Description: Site Point Name
    • IP Address: The default is "All Unassigned", for the local test site, access to the site's domain name with "localhost" instead. If the site is accessed externally, click the drop-down menu to the right of the IP Address option and select the appropriate IP address for external access (obtained from the network card settings)
    • Port: Refers to the network port used to access the site, the default is 80, non-special cases do not need to set
    • Home directory: By default, the content source when connecting to a resource option selects directory on this computer, which means that the site resource is stored on this machine. The Local Path option sets the location of the site directory on your computer.
    • Document: The Web page file in the list box is the default home page, which is the homepage that is automatically positioned when the site is accessed by a domain name or IP address.

2. How Web pages work

Static HTML workflow: Static HTML Web pages files and other resources are stored on the Web server, and the root directory can be viewed as an organized web site. When the browser side in the Address bar to enter the site's domain name or URL, the browser side of the request is sent to the Web server Iis,iis call the corresponding Web page and resources sent back to the browser side, the browser to the server sent back the HTML code to parse, display the full page in the browser.

3. Set access paths in Web technology

The complete page is organized by the Web page file external resources, the HTML code through the path to find the resource location, the Web page and the mutual access to the page is also through the path location.

The path is divided into absolute and relative paths.

The absolute path is the URL.

Relative path reference is divided into relative site root directory (similar to absolute path, omit HTTP protocol and domain name part) and relative document (referring to the document referencing that path), often used to locate a Web page or resource under the same site.

Web Development--02 (development environment configuration)

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.