Introduction
This tip lists how to publish website in IIS server.
- Control Panel -> Turn Windows features on or off -> Install IIS services.
- Go to Inetmgr (type
inetmgr
in run) -> Application pool->Right Click-> Add Application pool (If the application pool version is not in the list, add it).
Add both classic and standard application pool. - Select run as administrator in Visual Studio and command prompt.
- In cmd "c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i" and open the project.
- Publish the project in c:\inetpub\wwroot\.
- Go to
InetManager
-> sites->Default website-> Right click-> Converted to application. - Select Browse *.80(http) in
InetManager
.