After the site is done, the next thing is to publish, so how to use IIS to publish to the local LAN?
One, IIS installation
First of all, to install Iis,iis does not need to go to the website to download, it belongs to Windows own service.
1, open the Control Panel, find "Programs and Functions"
2, click "Enable or turn off Windows features", check the red tick selected services, click OK, ISS installation completed.
Second, the website releases
1, first, right button "My Computer" → "Management" → "Services and Applications" → "Internet Information Services (IIS) Manager" → "website", right "add site", as required to complete, confirm that the site to add success.
2, to enhance the rights, click on the site, the right "edit permission" → "Security" → "edit" → "add" → "advanced" → "Find Now" → "Everyone", click Full Control.
3, testing
If it's not an accident, the site has been released to the present successful. Click "Browse Web Site" to see your site.
Note:
① When you publish the first step of the Web site, the physical address can fill in the folder of the entire project, or you can fill in the Web folder. It is a good idea to set up a startup page in the VS project, or you may need to modify the default document for the Web site.
② Web site Publishing breakpoints cannot be set to 8080.
After the ③ website is published, you need to shut down the firewall if you want to use it inside the LAN. Control Panel → system and security → Windows Firewall → start or turn off Windows Firewall, select Close.
The above is the first site I released the specific implementation process, I hope to master the installation of IIS, website release has helped and inspire.