Configure IIS

When ever a developer develops  a website you can test it on your own local server . To deploy site on your local server you have to configure .net web server i.e. IIS , although IIS is not the only web server there are others too. but it is built-in default web server with windows. IF you didnot find it in you controlpanel>administrative tools 
Then you can install it by xp/vista cd by Add/Remove windows components and put check mark on IIS

Know here are the steps to configure IIS

Follow the steps

1. Open IIS by writing inetmgr in run or by control panel>AdministrativeTools?Internet information services

2. Expand Websites tree node

3. Expand Default website node

4. Right click on Default website >New> VirtualDirectory

5. Write name here you want at http like TestConnect in your case

6. Browse for the directory in which your webapplication resides

7. give read write access 

8. Thats all , write localhost at your browser like http://localhost/testconnect

Know In order to run you .net sites over your own localhost , you have to do one last step i.e. register IIS for .net framework

Go to run type cmd
Go to directory cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
write : aspnet_regiis.exe -i
It will ask for permission to run command , press y
Then after few second its done.
Know your IIS is registered for .net framework 2.0
For more information about asn_regiis and the .net 3.5 , 4.0 (same command work for earlier versions too.) please visit



Leave a Reply

Your email address will not be published. Required fields are marked *