articles

Home / DeveloperSection / Articles / Deploying Your Web Sites on IIS 7

Deploying Your Web Sites on IIS 7

Vijay Shukla5901 06-Dec-2012

In this following article I am explaining you how to deploy your websites in IIS 7.

Now we start this article with creating a website using ASP.NET 4.0 and how to publish your sample website.

Step 1:

Now you just create a sample web site through the ASP.NET 4.0.

Deploying Your Web Sites on IIS 7

Now the step 2:

In this step publish the web site with the folder name publish.

Deploying Your Web Sites on IIS 7

Give the path of publish folder in the Target Location

Suppose that your publish folder address c:\MyWebSite\publish

So pass your Target Location c:\MyWebSite\publish

Deploying Your Web Sites on IIS 7

Deploying Your Web Sites on IIS 7

Now in this step go to Run and type the inetmgr and press OK button for open the IIS.

Deploying Your Web Sites on IIS 7

After press OK below screen will appear.

Deploying Your Web Sites on IIS 7

Deploy the Website

    1.    Right click on the Sites and select the Add Web Site… under the Connections Pane.

Deploying Your Web Sites on IIS 7

 2.      Give your site name on Site Name and give the physical path of your publish folder and select application pool ASP.NET v4.0 and then press OK

Deploying Your Web Sites on IIS 7

 

 3.       After press OK button below screen will appear and now you can see in Connections Paneyour website with the name of MyFirstSampleWebSite.

Deploying Your Web Sites on IIS 7

 

 4.     To browse your Application Go to right side of your IIS screen in Actions Pane and click on Browse *:80(http) (*:80 is port number).

Note:- If you have to use only single port, so before browsing your application  you can check for the other websites (on IIS) are running on the same port or not if they are using same port then you will have to use other port or stop them.

 

Deploying Your Web Sites on IIS 7

Below screen will appear.

Deploying Your Web Sites on IIS 7


Updated 07-Sep-2019

Leave Comment

Comments

Liked By