How To Publish A Website On IIS From Visual Studio

First of all create a website on IIS as shown in following link. http://www.technomark.in/Host-A-Website-On-IIS.aspx . Now, Run Visual Studio as Administrator. Open a Build Free Web Project For Publishing on IIS. On Solution Explorer, right click and select Publish Link as shown in the figure.

How To Publish A Website On IIS From Visual Studio, How To Host A Website On IIS From Visual Studio, Publish A Website On IIS, Publish A Website On IIS From Visual Studio, Host A Website On IIS From Visual Studio, Visual Studio, Website Hosting, Application Pool

A new window will be opened where you have many side tabs available. On Profile Side Tab, Select the Dropdown and Click on the New Profile Link. Type a name and then press OK to create a New Profile.

How To Publish A Website On IIS From Visual Studio, How To Host A Website On IIS From Visual Studio, Publish A Website On IIS, Publish A Website On IIS From Visual Studio, Host A Website On IIS From Visual Studio, Visual Studio, Website Hosting, Application Pool

Then Click on the Side bar Link Connection. There will be having two entries that you needs to select. Publish Method & Target Location. From Publish method dropdownlist select File System. For Target Location, Click on the browse button. Then a new window will be opened as shown in the figure.

How To Publish A Website On IIS From Visual Studio, How To Host A Website On IIS From Visual Studio, Publish A Website On IIS, Publish A Website On IIS From Visual Studio, Host A Website On IIS From Visual Studio, Visual Studio, Website Hosting, Application Pool

From left panel select Local IIS. Then Select the IIS Site from the list that you have already created earlier ( http://www.technomark.in/Host-A-Website-On-IIS.aspx ) Then Press Open Button. This will close the new Window. Now Press the Side bar Tab Settings. From Configuration dropdown, select Release or Debug. I would prefer Release for final delivery. There is another check box available Delete All Existing Files Prior To Publish on File Publish Options.

How To Publish A Website On IIS From Visual Studio, How To Host A Website On IIS From Visual Studio, Publish A Website On IIS, Publish A Website On IIS From Visual Studio, Host A Website On IIS From Visual Studio, Visual Studio, Website Hosting, Application Pool

Now Press Next Button for getting the Preview of what you done till now. If everything is good enough, click on the Publish Button.

How To Publish A Website On IIS From Visual Studio, How To Host A Website On IIS From Visual Studio, Publish A Website On IIS, Publish A Website On IIS From Visual Studio, Host A Website On IIS From Visual Studio, Visual Studio, Website Hosting, Application Pool

On Output Window, Publish Succeeded message will be shown if published to the IIS. On IIS, select the website and press the browse link on the Action panel. Your App will be opened in a browser.