Current location - Quotes Website - Collection of slogans - How to create a new Iis how to create a new virtual directory
How to create a new Iis how to create a new virtual directory
How to build a website with iis

The server generally adopts IIS or Apache. In Windows server, we generally use IIS and install it through the control panel. The specific method is: 1. Enter the Control Panel.

2. Double-click Add or Remove Programs.

3. Click Add/Remove Windows Components.

4. In the Components list box, double-click Application Server.

5. Double-click Internet Information Services (IIS).

6. Choose from "World Wide Web Service" and "File Transfer Protocol (FTP) Service".

7. Double-click the World Wide Web Service and select Active Server Page and World Wide Web Service.

Second, after setting up IIS, set up the Web server. The specific method is:

1. Select Administrative Tools →Internet Information Services (IIS) Manager from the start menu.

2. In Internet Information Services (IIS) Manager, double-click the local computer.

3. Right-click the website and select New → Website in the pop-up menu to open the website creation wizard.

4. Fill in the website description, IP address, port number, path and website access right in turn. Finally, the default document (Index.asp, Index.asp) should be set to be easy to access.

The above settings are basically the same as the Windows2000Server website, but at this time, the Web service is only applicable to static content, that is, static pages can be browsed normally, and the commonly used ActiveServerPages(ASP) function is not enabled. Therefore, you should also select Active Server Pages in the Web service extension that allows Internet Information Services (IIS) Manager.

Third, install IIS.

1. If IIS server is not installed in the system, open the control panel, click Start Add/Remove Programs, select Add/Remove Windows components in the pop-up dialog box, select Internet Information Services (IIS) in the Windows component wizard dialog box, click Next, and complete the installation of IIS according to the instructions of the wizard.

Four. Configure the website

1. Open IIS Manager, right-click Website and create a new one-> : website

2. Open the Create Wizard and proceed to the next step.

3. Description of the website. Generally, we write the website domain name, which is the logo (name) of the website in IIS.

This is a crucial step. Generally, the IP address is set to "All Unassigned", which has an advantage: in case the host changes the IP, it does not need to be set in IIS, but only needs to modify the domain name resolution. Of course, if you have multiple IPS, you can also specify different IPS for different websites. Usually the port is 80, which is the standard port for Web services. Write down the domain name of your website on the host. Go on, next step.

5. Set the path of the website file. It is recommended to put the data on disk E, that is, "E:Wwwroot". You can select it through Browse or enter it directly.

6. setup. Different types of websites have different permissions. Static pages only need to be read.

7. After adding, we created a file at E:Wwwroot, and index.htm opened it with notepad and wrote the test text.

8. After adding, you can see the website of "Test". Right-click attribute to bind domain name, set default document, 404 error page, etc.

9. Several common setting options.

10. When finished, enter your domain name in the browser.

How to build a site and configure it with IIS in win7?

The function of deploying and publishing websites can be realized by installing and configuring IIS services on computers. Take Windows7 system as an example: 1. Open the automatic control panel-system programs and functions, and click Enter.

2. In Programs and Features, click Turn Windows Features On or Off, select Internet Information Services, and then click OK to install IIS services. 3. After 3.IIS is installed, right-click "Computer" to open "Management". Under Services and Applications, in Internet Information Services, right-click Website to add a local website program. 4. You can start or stop IIS server here. IIS server supports asp.NET and ASP website operation. Because the local computer builds a website and the Internet IP is changing, it is impossible to access addon domain. It can be accessed through the local mailing address 127.0.0. 1. How to create a subdomain?

First, a record should be established in the domain name management system, and then a site should be established in the local IIS, so that an IP can be bound. For example, if a record is established in the domain name management system, a.xx.cn will point to the IP of the new site in a.xx.cn in the local IIS and point to its new directory. The key is that the host header should be written as a.xx.cn when establishing the site, so that your subdomain can be successfully established. However, there may be a delay in creating records in the domain name management system, and the longest time is about 2 hours. Please note.

How to solve the problem of unsuccessful establishment of IIS virtual directory?

Is it UFIDA U8?

First of all, if you encounter this problem, be sure to check whether IIS is normal. Generally speaking, IIS is abnormal when this problem occurs. If the IIS service is restarted in the Internet information service, it will definitely be unsuccessful. Then see if there are two items under IIS service, one is a website and the other is an SMTP virtual server. If there are these two items, and there are some fields starting with U8 under the website, then turn on the computer and start running CMD, and then enter C: Windows Microsoft. Net framework v1.1.4322 aspnet _ regiis-r, and then enter c: Windows Microsoft. NET framework v2.0.50727 APNET _ regiis-r;

Secondly, if there is no website and SMTP virtual server under IIS service, you need to delete IIS and reinstall it.

How to monitor and improve the performance of IIS?

IIS is the abbreviation of InternetInformationServer, which is the main server promoted by Microsoft. IIS and Window are fully integrated, so users can use the built-in security features of Windows to build powerful, flexible and secure Internet and Intranet sites. IIS supports HTTP (hypertext transfer protocol), FTP (file transfer protocol) and SMTP protocols. By using CGI and ISAPI, IIS can be highly extended.

IIS supports language-independent scripts and components. Through IIS, developers can develop a new generation of dynamic and attractive websites. IIS does not require developers to learn new scripting languages or compile applications. IIS fully supports VBScript, JScript development software and Java. It also supports CGI and WinCGI, as well as ISAPI extensions and filters.

IIS has extremely fast response speed and consumes the least system resources. The installation, management and configuration of IIS are very simple, because IIS is closely integrated with the Windows operating system. In addition, IIS also uses the same Sam (Security Account Manager) as Windows. For administrators, IIS uses existing management tools, such as PerformanceMonitor and SNMP (Simple Network Management Protocol).

How to monitor and improve IIS performance?

We should discuss it from the following aspects:

1, memory

The performance of memory directly affects the performance of other components. When monitoring IIS, we should focus on the state of memory resources. Adequate memory can bring higher performance to the web server. Through the visual monitoring of IIS, we can intuitively understand the current memory utilization rate of IIS and the system memory utilization rate.

2. Solve the bottleneck problem of the processor

As far as possible, tools should be used to test the operation of IIS under single CPU and multi-CPU, so as to avoid the processor becoming a bottleneck affecting the performance of the server, because the performance of the processor directly affects the response time of web customers. Through the visual monitoring of IIS, we can intuitively understand the current CPU utilization rate of IIS and the CPU utilization rate of the system.

3. Input/output of the network

Considering the maximum data transmission capacity of our network in a certain period of time, what configuration can give full play to the maximum performance of the service.

4. Network application

Try to use an application that has little impact on server performance to monitor the operation of IIS. 5. To monitor the load brought by security mechanisms, you should be able to know how much security mechanisms such as windows authentication and SSL have brought to the system.

Failed to create IIS virtual directory?

First of all, if you encounter this problem, be sure to check whether IIS is normal. Generally speaking, IIS is abnormal when this problem occurs. If the IIS service is restarted in the Internet information service, it will definitely be unsuccessful. Then see if there are two items under IIS service, one is a website and the other is an SMTP virtual server. If there are these two items, and there are some fields starting with U8 under the website, then turn on the computer and start running CMD, and then enter C: Windows Microsoft. Net framework v1.1.4322 aspnet _ regiis-r, and then enter c: Windows Microsoft. NET framework v2.0.50727 APNET _ regiis-r;

Secondly, if there is no website and SMTP virtual server under IIS service, you need to delete IIS and reinstall it.