Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / IIS

Publishing ASP Website in IIS 7.0

4.73/5 (6 votes)
30 Oct 2013CPOL 16.5K  
How to publish website in IIS server

Introduction

This tip lists how to publish website in IIS server.

  1. Control Panel -> Turn Windows features on or off -> Install IIS services.
  2. 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.
  3. Select run as administrator in Visual Studio and command prompt.
  4. In cmd "c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i" and open the project.
  5. Publish the project in c:\inetpub\wwroot\.
  6. Go to InetManager-> sites->Default website-> Right click-> Converted to application.
  7. Select Browse *.80(http) in InetManager.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)