Set up an asp.net based website on a Windows computer

  1. If IIS has not been installed, Control Panel > Programs > Programs and Features > Turn Windows features on or off > check all the components under Internet Information Services that are needed (it may be easy to just check everyone if you are not sure what you need).  This process creates folder inetpub.  Please note
  2. If web projects are developed on another computer on the intranet, and deployed to this one, make inetpub or any folders for storing the files of web projects shared, and give the permission of full control to the users who deploy the projects.
  3. Make sure the Application Pool is DefaultAppPool (IIS > Website > Manage Web Site > Advanced Settins… > Application Pool
  4. Make sure DefaultAppPool uses .Net Framework v4.0
  5. Check and install all Windows updates after installing IIS.
  6. Restarting the computer is a good idea even you are not prompted to do so.
  7. If the computer is behind a router, and WAN access to the web applications are needed, the router needs to forward HTTP and/or HTTPS requests to the computer.  This is done by configuring  port forwarding (i.e. virtual server.
  8. If the web applications uses HTTS, a certificate needs to be installed on the server: a. Use IIS Manager to generate CSR. b. Use the CSR to obtain the certificate from the issuer your SSL certificate. c. Download the certificate. d. In IIS manager, complete the certificate installation process.  Please note, a certificate for another server cannot be reused.  It needs to be rekeyed with the above process.
  9. If IIS smooth streaming is used, it needs to be installed.

IIS running on desktop Windows limits concurrent connections to no more than 10.

This article was updated on 11:14:35 2024-11-15