Pages

Saturday, December 25, 2010

How to host ASP.NET pages


In my previous post I show How to Install IIS. Today I am going to show you
how to host ASP.NET pages on IIS. To do this just follow the following steps:
1. Go to the drive where the windows has installed.
2. Find a folder named inetpub. Double click on it
3. Inside this folder there is a folder named wwwroot
4. Paste your pages here and your work is complete.
5. Open browser and type http://localhost/pagename.aspx
replace pagename.aspx with your original page name
(do not forget to enter the extension .aspx )
6. Hit Enter
7. See your page

** without installing IIS there will be no folder named inetpub




Tuesday, December 14, 2010

How to Install IIS easily on Windows 7

Today I am going to show you how to install IIS on Windows 7 easily .

To host ASP.NET Pages you need a server and for this you can use IIS. By using IIS you can also host PHP pages. I will show that later. In this tutorial I will not show elaborated description & if you are interested and hard working then I hope this will be helpfull for you as a basic tutorial in ASP.NET.

Steps: Go to
1. Control Panel->Programs
Click Turn windows features On or Off






Now a window called Windows features will open as follow.






From here just check the

Internet Information Service check box,
Here I do not need the FTP server so I unchecked the FTP server Check box

After clicking OK button it will take some time to install IIS and others features on your computer. After doing this you need to be sure that every thing is OK! for this open your browser and navigate to http://localhost. If you can the following page then every thing is OK.


To Stop, Start or Configure IIS Click Start and find out the

Internet Information Services IIS manager and click there.