65.9K
CodeProject is changing. Read more.
Home

Publishing ASP Website in IIS 7.0

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.73/5 (6 votes)

Oct 30, 2013

CPOL
viewsIcon

16532

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.