Steps to configure IIS10 under Win10 and support debugging ASP programs

Steps to configure IIS10 under Win10 and support debugging ASP programs

Microsoft IIS

IIS (Internet Information Server) is a basic Internet service based on Mircrosoft Windows provided by Microsoft. It is currently the most popular Web server product, and many famous websites are built on the IIS platform. IIS Web service components include Web server, FTP server, NNTP server and SMTP server, which are used for web browsing, file transfer, news service and email sending, making it very easy to publish information on the Internet.

In this experiment, IIS is used to build a web server in the Windows 10 environment that can access each other in the same LAN segment.

IIS Web Server Configuration

The steps to configure the IIS Web server are as follows:

(1) Confirm whether IIS is installed on the computer

IIS is not installed on Windows 10 by default. If the IIS service component is not installed on your computer, you can install IIS by following the steps below.

My Computer > Right Click > Properties to quickly find the control panel homepage

1. "Control Panel" > "Programs" > "Programs and Features" > "Turn features on or off" on the left side of "Programs and Features"


2. Find Internet Information Services (IIS) and select the required components for the IIS server as shown below:


3. After confirmation, Windows will automatically install these components and complete.

4. After the component installation is complete, enter localhost in the address bar to open the default IIS website that comes with Win10.


5. The above picture shows the default style of win10, which is the "Default Web Site" style. The directory is located in the C:\inetpub\wwwroot file. The default port is 80, no IP is set, and it can be accessed using "http://localhost". If the IP address is set to 192.168.1.1 and the port is 666, then the address to open should be http://192.168.1.1:666.

6. Go to "Control Panel" > "System and Security" > "Administrative Tools" and find "Internet Information Services (IIS) Manager".


7. Open the "Internet Information Services (IIS) Manager", create your own site, right-click "Website" > "Add Website", set it as shown below, and you can successfully add a website named "mytest".


8. Set index.asp as the default document. Select "Default Document" under "mytest Home Page", right-click "Open Function", and add a default document.


9. Parent path is not enabled by default in IIS. Only when parent path is enabled can relative path be used in ASP program. Select "ASP" under "mytest Home Page", right-click "Open Function", set "Enable Parent Path" to True, and click "Apply" on the right.


Note: 1. Because it is a local test, the IP should be the local address. Therefore, you can reset the IP address as needed.

2. The asp program needs to be placed in a folder named wwwroot.


By following the above steps, we can successfully build a web server under Windows 10 system. Users in need may give it a try!

<<:  Vue routing relative path jump method

>>:  MySQL slow query operation example analysis [enable, test, confirm, etc.]

Recommend

Some issues we should pay attention to when designing a web page

Web design, according to personal preferences and ...

JavaScript Shorthand Tips

Table of contents 1. Merge arrays 2. Merge arrays...

Solve the problem of OpenLayers 3 loading vector map source

1. Vector Map Vector graphics use straight lines ...

How to modify server uuid in Mysql

Source of the problem: If the slave server is the...

Introduction to several ways to introduce CSS in HTML

Table of contents 1. Embed CSS styles directly in...

CentOS 7 installation and configuration method graphic tutorial

This article records the detailed installation tu...

Solve the 1251 error when establishing a connection between mysql and navicat

I reinstalled the computer and installed the late...

Let you understand the working principle of JavaScript

Table of contents Browser kernel JavaScript Engin...

Detailed explanation of how to enter and exit the Docker container

1 Start the Docker service First you need to know...

A mobile adaptive web page effect solves the problem of small display page

For work needs, I need to make a mobile phone adap...

Pure CSS to achieve automatic rotation effect of carousel banner

Without further ado, let’s get straight to the co...

Summary of how to modify the root password in MySQL 5.7 and MySQL 8.0

MySQL 5.7 version: Method 1: Use the SET PASSWORD...