Thursday, August 11, 2011

Host .Net Website on Local Machine.

To create a local Web site in IIS 6.0

  1. On the Start menu, click Run.

  2. In the Open box, type inetmgr and then click OK.

  3. In IIS Manager, expand the local computer, right-click the Web Sites folder, click New, and then click Web Site.

    The Web Site Creation Wizard is displayed.

  4. In the Web Site Creation Wizard, click Next.

  5. In the Description box, type a descriptive label for the site (this label is not what you will type the address bar of a browser), and then click Next.

  6. Type or select the IP address (the default is All Unassigned), TCP port, and host header (for example, www.microsoft.contoso.com) for your site.

  7. In the Path box, type or browse to the directory that contains the site content, and then click Next.

  8. Select the check boxes for the permissions that you want to assign to users, and then click Finish.

    By default, the Read and Run Scripts check boxes are selected. These permissions enable you to run ASP.NET pages for many common scenarios.


Now u can access site using path http://localhost/directoryname/startpage.aspx

0 comments:

Post a Comment