IIS website building experience summary
Because the iis server is not the mainstream server, there are relatively few online iis website building articles and they are not very complete. The author I once spent three days building a website. I hope this article can help some people solve some problems
Recommended (free):iis
First, open the iis management server
##Due to security considerations, the websites are all large-sized, and the oa and oaphp websites are closed
Then right-click Website, pop-up menu, click Add Website
Build the physical path first, and add the files in the physical path
We are changing the address Create a file and write hello world!
Then click on the iis server and start filling in the information
The website name is just the name that appears in your website list
For example, oa;oaphp
The application pool can be set as the default, then select it and start adding it The physical path of the file
Then you can test it
The program pool is valid, because the next step will be performed on the file
The next step is to fill in the website name. If you have a registered domain name, you can directly fill in the host name. If not, you can choose the IP address plus port number. This method is flexible and can be guaranteed at any time. Build a website anywhere, but there may be some security issues. We will not discuss it here for the time being.
is as follows. Most of the configurations have been completed. All that is needed is to change some properties
If you directly enter the IP address and port number in the address bar, an error will be reported
Step 1 , click on the ceshi folder, which is the last directory when you set the physical address of the website, and the root directory
##right click, set
Add information, for example, everyone sets everyone's permissions
## to
Then confirm and continue to set up
The second step is to open the corresponding port number
Click on the inbound rules, create a new rule, and fill in 800* for the previously established port
Click the port number you just set up
Then
The port number has been established
Continue setting and enter the iis server
Click false to change it to true
(Answer, you just clicked OK, so It is displayed in gray)
Click the application to take effect
Go back to your own computer, or change to another computer, log in to the external network, and you can see Go to
If it involves large-scale deployment of PHP, Java and other languages, you can set up your own configurations. This article will stop here.
You can also enter the right side of the iis server , make relevant settings
The above is the detailed content of Introducing iis to build a simple website. For more information, please follow other related articles on the PHP Chinese website!

Running PHP applications on a Windows server is feasible and practical. 1) Install and configure IIS, 2) Integrate PHP through FastCGI, 3) Solve common problems such as MIME type configuration and extended loading, 4) Optimize performance settings using OpCache and FastCGI, 5) Follow PHP best practices such as using namespaces and PSR standards.

IIS is a web server software developed by Microsoft to host and manage websites. 1) IIS can handle static and dynamic content, 2) Provide management tools that seamlessly integrate with Windows, 3) Support HTTP, FTP, SMTP and other protocols, 4) Provide security functions such as SSL/TLS encryption, and 5) Optimize website performance through load balancing, caching, etc.

IIS's real-world applications include in-business departmental websites, high-traffic e-commerce websites and API gateways. 1) In-business departmental websites utilize the powerful features of IIS and seamless integration with Windows systems, 2) High-traffic e-commerce websites improve user experience by configuring load balancing and using ARR, and 3) IIS manages and protects API access through URL rewriting and reverse proxying.

The integration of IIS and PHP can be achieved through the following steps: 1. Install PHP, 2. Add PHP handler in IIS, 3. Test the configuration. After integration, IIS will pass the PHP file request to the PHP interpreter for execution and return the result to the client to achieve efficient web services.

Configuring and running PHP applications on IIS requires the following steps: 1. Install IIS and PHP, make sure IIS is enabled and download the PHP ZIP file. 2. Add a website or application in IIS Manager and configure the handler to map to the PHP executable file. 3. Use simple PHP scripts to test the configuration. 4. Debug by checking log files and error logs. 5. Optimize performance, including using application pools and adjusting php.ini settings.

IIS remains important in today's technological environment. 1) IIS is tightly integrated with Windows systems, providing powerful management and security functions. 2) It supports advanced usage from simple website hosting to complex load balancing and SSL management. 3) Through optimization and best practices, IIS still has powerful functions and stability in enterprise and personal applications.

IIS is a powerful web server software developed by Microsoft to host and manage websites, applications, and services. The functions of IIS include: 1) Hosting websites and web applications, supporting a variety of programming languages and frameworks; 2) Providing load balancing and high availability to ensure application stability; 3) Built-in multiple security features to protect web applications; 4) Providing performance optimization tools to improve response speed; 5) Providing detailed logging and monitoring functions to help diagnose and solve problems.

Microsoft's IIS does offer a free version for individual developers and small projects, but with limited functionality. 1. The free version is bundled with the Windows operating system and is suitable for individuals and small projects. 2. The paid version provides advanced features such as load balancing, suitable for projects that require high reliability and scalability. 3. When using IIS, reasonable configuration and optimization can significantly improve performance and reliability.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

Dreamweaver Mac version
Visual web development tools