Set up an asp.net based website on a Windows computer
- 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
- 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.
- Make sure the Application Pool is DefaultAppPool (IIS > Website > Manage Web Site > Advanced Settins… > Application Pool
- Make sure DefaultAppPool uses .Net Framework v4.0
- Check and install all Windows updates after installing IIS.
- Restarting the computer is a good idea even you are not prompted to do so.
- 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.
- 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.
- If IIS smooth streaming is used, it needs to be installed.
IIS running on desktop Windows limits concurrent connections to no more than 10.