---
title: "Deploying Your Web Sites on IIS 7"  
description: "In this following article I am explaining you how to deploy your websites in IIS 7."  
author: "Vijay Shukla"  
published: 2012-12-06  
updated: 2019-09-07  
canonical: https://www.mindstick.com/articles/1069/deploying-your-web-sites-on-iis-7  
category: "iis 7"  
tags: ["iis 7"]  
reading_time: 2 minutes  

---

# Deploying Your Web Sites on IIS 7

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](https://yourviews.mindstick.com/view/87705/when-do-we-require-an-agency-to-drive-traffic-to-a-website) using [ASP.NET](https://www.mindstick.com/articles/155/concept-of-asp-dot-net) 4.0 and how to [publish your](https://yourviews.mindstick.com/view/84512/what-are-the-best-ways-to-publish-your-product-in-the-market) sample website.

##### Step 1:

Now you just create a sample [web site](https://www.mindstick.com/articles/12285/the-finest-web-site-design-trends-you-may-expect-in-2017) through the ASP.NET 4.0.

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/951235ea-e132-4d59-9fa0-11c33cfbb45a.png)

##### Now the step 2:

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

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/8381386a-77b3-4034-a230-00f130a83c2f.png)

Give the path of publish folder in the Target [Location](https://www.mindstick.com/news/2574/twitter-conveniently-reveals-a-location-sharing-policy-amid-elonjet-controversy)

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

So pass your Target Location c:\MyWebSite\publish

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/780276a8-74a4-443f-be8b-f0400380db36.png)

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/02f72415-9875-4116-ac76-21214e766694.png)

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](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/ef563851-2694-4afc-aaa6-57d2b0f31fc5.png)

After press OK below screen will appear.

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/726daeab-166d-4c58-8570-c8d61baa44e0.png)

##### Deploy the Website

1. Right click on the Sites and select the Add Web Site… under the [Connections](https://yourviews.mindstick.com/view/87707/baba-siddique-murder-news-his-connections-with-underworld) Pane.

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/632ab079-6644-4a5a-819a-45fdeb7adc2c.png)

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](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/40a8e61b-d856-4410-80ea-8c040f2adadd.png)

3. After press OK button below [screen](https://www.mindstick.com/blog/53499/top-5-big-screen-tvs-for-the-best-tv-shows-of-2019) will appear and now you can see in Connections Paneyour website with the name of MyFirstSampleWebSite.

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/e9903bd3-2fad-4d31-b8de-7d411378e590.png)

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](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/c506d6e1-0436-4761-80fd-585576a323a4.png)

Below screen will appear.

![Deploying Your Web Sites on IIS 7](https://www.mindstick.com/mindstickarticle/9630ac73-88ac-4778-9f66-6a9c13ea4d33/images/4cee760f-c5bc-4543-a2c8-dae4b1513508.png)

---

Original Source: https://www.mindstick.com/articles/1069/deploying-your-web-sites-on-iis-7

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
