locked
How to deploy a website ? RRS feed

  • Question

  • User1900802212 posted

    can anyone tell me step by step by step procedure for  how to deploy a website built with visual studio 2008

    and database is in sql server 2005 .

    please tell me step by step procedure i dont knw alphabet of deployment and please tell me also how to deploy it on LAN (LOCAL AREA NETWORK)

    Tuesday, May 7, 2013 1:35 AM

Answers

  • User-800912061 posted

    Hello,

    1. You should publish your website on local IIS.

    2. Check your firewall settings to enable access of port 80 (http).

    3. Type in the browser of another computer the IP address of your IIS server, and you should see your site.

    4. Set your local DNS settings and give some name of your IIS server, so you could access it by typing just the name, not IP address.

    Or refer to below links.

    http://support.microsoft.com/kb/326356

    http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx

    http://www.codedigest.com/Articles/ASPNET/3_Deploying_ASPNET_Applications.aspx

    http://www.codeproject.com/Articles/28693/Deploying-ASP-NET-Websites-on-IIS-7-0

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 7, 2013 2:00 AM
  • User-1673382244 posted

    he configuration is simple only. just place the folder on ur computer then follow the below steps

    How to Deploy ASP. Net Websites on IIS 7.0

    From now onwards, I will describe one example to deploy your ASP.NET websites on IIS 7.0.

    Step 1: From Visual Studio, publish your Web application.

    Step 2: Copy the published application folder to "C:\intepub\wwwroot[default] folder.

    Step 3: From RUN - > inetmgr -> OK

    The following screen will come. This is the main page for any application. There are three panels.

    Main_DefaultIIS.JPG

    "TestWeb" is a recently pasted webapplication on your wwwroot folder.

    Step 4: We need to convert it to an application, just right click and then Click on "ConvertToApplication" as shown in the following picture:

    ConvertToApplication.JPG

    After converting it to application, its icon will be changed and then you can set the property for your web application from the middle pane. You can set IIS Authentication Mode, Default Page Just like IIS 6.0:

    ConvertedToApplication.JPG

    You can change Security Settings on Authentication Section. By default Setting will be set from your web.config itself. As in my web.configForm Authentication was set that's why, Forms Authentication has been Enabled. If we want to change the status, just double click and update status to Enabled to Disabled or Vice Versa.

    AuthenticatinSettings.JPG

    Now one most important part is to set the Application Pool for your application.

    How to Create Application Pool

    A site can contain many applications including that site’s default application, which is called the root application. In addition to belonging to a site, an application belongs to an application pool, which isolates the application from applications in other application pools on the server .

    Step 1: Right Click on Application Pool and give the name of your pool. Here, I have given "pool" and select Framework and click on OK:

    PoolCreation.JPG

    Step 2: If you are writing some thing on the server [may be writes Error Events Logs], you need to change the Pool Identity to Local System. Right click on Pool Identity setting as shown in the following image:

    There are three identities of Application Pool:

    • Network Service
    • Local Service
    • Local System

    changePoolIdentity.JPG

    Assign Application Pool To Your Application

    Now, we need to assign the Application Pool to our web application.

    Step 1: Right Click on "TestWeb" Application and Select "Advanced Settings":

    asingAppPool.JPG

    Step 2: Finally assign your created Application Pool "

    pool

    " to "

    TestWeb

    " Application.

    FinalAppPoolAsign.JPG

    Now you can run your application by just typing http:\\localhost\testweb and it can be accessible on network by IP also.

     

    for more ref. http://www.codeproject.com/KB/aspnet/IIS7ASPNet.aspx and theory study http://technet.microsoft.com/en-us/library/cc754705(WS.10).aspx

     http://www.15seconds.com/issue/030806.htm 

    http://www.codeproject.com/KB/aspnet/IIS7ASPNet.aspx 

    http://stackoverflow.com/questions/45783/automate-deployment-for-web-applications

    http://ayanbhattacharjee.blogspot.com/2010/04/deploy-aspnet-website-on-iis-70-windows.html

    http://technet.microsoft.com/en-us/library/cc731252(WS.10).aspx 

    http://www.codeproject.com/KB/aspnet/IIS7ASPNet.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 7, 2013 2:10 AM
  • User697001694 posted

    IF you have Windows & then you can install IIS 7.0 from your control panel ->programs and featuser -> turn on/off windows features or paste this  Control Panel\All Control Panel Items\Programs and Features in your address bar and click on Turn Windows features on or off in right panel and install iis, after inetpub folder will created in your c drive.

    IIS current version is 7.5 and .net framework is 4.5

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 7, 2013 10:33 AM

All replies