IIS Configuration Documentation:
1. Install IIS. Control Panel → programs → turn off Windows features, web Management services and World Wide Web services are ticked on.
2. Deploy Web site: Publish asp: Project Right click "Publish", select "File System", publish to a folder.
3. Create a new Web site in IIS and set the domain name so that multiple domain names can be placed on an IIS server. The domain name needs to be bound.
4. Simulate domain name, if UAC is enabled, run Notepad with administrator privileges, open
Hosts file under C:\Windows\System32\drivers\etc
Do a spoof of the domain name protocol. Forge some domain names out.
5, if the error error "Unrecognized attribute" TargetFramework ", then:
1), change the. NET Framework version of the site's application pool to "4.0"
2), C:\Windows\Microsoft.NET\Framework\v4.0.30319 Run with Administrator privileges (aspnet_regiis.exe-i)
6, the default document problem, let the user visit www.web2.com is actually access WWW.WEB2.COM/INDEX.APSX: If the user does not specify which file to access, then from the top down, to whom, who is the default document.
IIS Configuration Documentation