- Installing IIS
Programs and features, Control Panel, click "Turn Windows features on or off" on the left
Put these items on the hook, although some are not necessary, many hooks.
- Go to IIS Manager
Control Panel, System and security management tools->iis Manager
- Add a new site
In the left column, right-click sites, add sites
Enter the name of the website. An application pool with the same name is created. Click "Connect as", select a specific user, set the credentials, enter the user name and password on the local computer. The port does not use 80 anymore, because 80 has already been used for that default website. Special emphasis: Do not fill the hostname, otherwise it can only be accessed through the host name and not through the IP (even if the local with 127.0.0.1:8090 can not access).
- Edit Body Verification
- Add a default home page. Like what I'm adding is home.aspx.
- Edit the application pool. By default IIS creates an application pool for our site "2012" also called 2012, and of course you can also bind site 2012 to other existing application pools.
Click "Application Pool" in the left-hand column, select the application pool that corresponds to our site, and click "Advanced Settings" in the right-hand column. There are 3 places to change:
My site is made with vs2010, so the. NET Framework Select V4.0
Allow content retrieval (using HHTP) to go through the firewall and shut down the firewall directly if you are still unable to access the Web site.
- You can access it by typing ip:8090 in the browser's address bar. Of course, this IP is your intranet IP, external network users can not access (from: http://www.cnblogs.com/zhangchaoyang/articles/2309335.html)
Publishing Web sites with IIS under Win7