IIS6 configuration support. net4.0
To publish two Web sites on the Win2003 operating system, first configure IIS:
1. Download. NET Framework 4.0 almost 48MB
2. Installation
3. Open IIS: Start and manage tools =>internet Information Services (IIS) Manager
4. Click Web Service extensions in Manager and the. NET Framework 4.0 that you just installed will appear on the right, selecting and allowing
Well, that's the configuration.
Sometimes it is also possible to configure the. NET Framework 3.5 and. NET Framework 4.0 at the same time, then configure 3.5 again, the same way
Publishing Web Sites
Once you have configured IIS, you are ready to publish your Web site.
1. Click Project Release: (My project is on the local computer, to be published to the server "Win2003")
Right-click on the project + Publish + + Publish method: File system = = Target Location: "Create a new Folder" AAA "store the published item" + + click "Delete all existing files before publishing" + + [publish]
2. Copy "AAA" to the server
3. Create a new website:
Open Internet Information Services (IIS) Manager, right-click Web site + new + + Web Site Description: "test_6db"
= = Next. Website Host Header: Write a domain name (test.6db.com)
= = Next. Path: Path to "AAA"
= = Next. Select Run Script
= = Next. Complete
4. Modify Site Properties:
1. After the new Web site is successful, the Web site list on the left side of Internet information Services (IIS) manager has just created "I am a Site"
2. Right-click, select Properties
3. Select the ASP. ASP. NET version down list select 4.0
4. Select the Web Site tab and remove the "Enable Logging" check box (keep it if necessary, the log will be recorded on the C drive)
5. Select the Home Directory tab, click Configure, insert C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll (Project used to MVC template, so to insert this, of course, MVC is previously installed on the server)
Check the "Check for file exists" checkbox and tick it Out (not selected)
6. Select the Directory Security tab, click on the authentication and Options control edit, select the user (sometimes not this step, when the Web site opens when the user login box, to configure the user.) This step means that all users who log in to this site are the users who are added here, not being rejected.
7. If the site uses Silverlight, add two MIME file types (. xaml---application/xaml+xml,. XAP---application/x-silverlight-app) to the HTTP header
8. Finally, add a row 192.168.10.181 111.222.com (192.168.10.181 is the server IP) of the host file under the C:windows/system32/drivers/ect directory of the local computer
This will make it possible to access the site on this machine.
IIS6 configuration Support .net4.0& Publishing site [go]