Attention: This website is optimized for Internet Explorer 8+ and all other current browsers.
Viewing this site in your current browser may result in formatting issues. We suggest you update your browser Here. Thanks!
Contact OrcsWeb Managed Windows Hosting Call us: 1-888-313-9421

Follow Us

OrcsWeb Hosting
  • Facebook
  • Google
  • Linkedin
  • Twitter
  • Home
  • Managed Hosting
    • Windows Cloud Servers
    • Dedicated Windows Servers
    • Windows Hybrid Hosting
    • Managed Shared Hosting
    • PCI Compliant Hosting Solutions
    • Managed Services
      • Managed Windows Hosting
      • Standard Managed
      • Complete Care
      • The Migration to Orcsweb
    • Our Data Center
  • Solutions For
    • SaaS Hosting Solutions
    • eCommerce Hosting
    • Web Apps, Blogs, CMS, Web 2.0 Hosting
    • Hosting for Rich Media Sites
    • Managed Private Cloud Hosting
  • Why OrcsWeb
    • Why OrcsWeb
    • About OrcsWeb
    • How We’re Different
    • Meet some of our clients
    • Check Out Our Press Releases
  • Communicate with Us
    • Get a Quote
    • Contact Us
    • The Orcs Web Blog
    • e-Newsletter Signup
    • Client Login
    • Knowledge Base
    • Support Request
    • Careers At OrcsWeb
    • Partner with OrcsWeb
      • Partner Login
      • Affiliate Program
  • Blog
Search

How to Install WebDeploy on Windows Server 2012

10

In this walk-through, we will be showing you how to install WebDeploy on your Windows Server 2012 machine. Once you’re done, make sure to check out the next step in the follow-up post: “Using Web Deploy and Visual Studio to Import/Export IIS8 Sites”

Note: Check out our recent announcement of support for Windows Server 2012 on Dedicated and Cloud Servers.  

One of the exciting things about WebDeploy is that we can migrate our sites from IIS6 and IIS7 to IIS8 with ease. Here are just a few more highlights on WebDeploy, before we proceed to the installation:

-Ability to create packages and deploy them locally or to remote machines via Visual Studio 2010+
-Web Matrix integration
-Ability to synchronize and/or migrate applications, sites, or whole web servers to another server
-You can configure automatic backups before deploying your new sites to your server

Here are the steps we’ll go through with you so that you can set up WebDeploy functionality on your server:

-Use Web Platform Installer to install WebDeploy and setup IIS configuration components as necessary
-Create a local non-admin user on your server for deployments
-Configure WebDeploy Publishing Settings in IIS

To install WebDeploy we will be using Microsoft’s Web Platform Installer (WebPI) 4.0. You can download WebPI here.

Once you’ve downloaded WebPI, launch the installer. In the search bar, type in, “Recommended”. We want to select “Recommended Configuration for Hosting Providers” by clicking Add…

WebPI Installer

If you click the “Items to be installed” link at the bottom, you can see a list of what will be installed. Anything the has an “X” beside it can be removed. For example if you do not want or need PHP and its components you can remove them.

Notice the WebDeploy features about half way down:

WebDeploy 3.0

In this walkthrough, I’ll be leaving all the components for this configuration. Next, click Install. Then, once you Accept the License Agreements, your installation will begin:

Install WebDeploy

Once that completes, you can close WebPI.

Next we’ll want to create a local non-admin user that we will use with WebDeploy. Open Server Manager, and then select Computer Management.

Server manager

Once Computer Management loads, navigate to Local Users and Groups, then right-click the Users folder and select New User. In my example, I created a new user “GabeWebDeploy”.

Make sure you remember or document this password. You’ll need it later.

Local Users and Groups Username and Password

We also should go ahead and create a WebDeploy folder to contain our Publishing settings for later. I created a WebDeploy folder in: C:\inetpub. This simplifies the management of Publishing Profile management.

WebDeploy Folder

Next, open up IIS Manager, Control Panel > Administrative Tools > IIS Manager. When you launch IIS Manager, you will get the following prompt:

IIS Manager

Click the “Do not show this message” checkbox if you would like and then click “No” hown above. Clicking Yes will just take you back to the website where you download Web Platform Installer.

For this walkthrough I also created a new website, “Gabe OW Webdeploy Test”. We now need to edit the WebDeploy Publishing Settings. To do this, select your site and then right-click Deploy > Configure WebDeploy Publishing…

WebDeploy Test Site

Now we need to change some settings here on the Configure WebDeploy Publishing window:

WebDeploy Configuration Settings

Click the … next to the top line that begins with Servername\Username. We want to change this to the new WebDeploy user we created earlier.

Pro Tip: We want to use a non-administrator account and NOT and administrator level account, as we want to contain the server access of the user account to this site/application for security purposes.

As of this writing in the Server 2012 RTM version, you’ll need to enter the username in the Servername\Username format as the clicking the Select… function will close IIS. This appears to be a bug.

Allow User

After you enter the username, go to the line that says, “Specify a location to save the publish settings file” and change the path to the WebDeploy folder we created earlier. Change “C:\Users\Username\” to new path: “C:\inetpub\Webdeploy\”. Then click Publish. See screenshot example:

Configure WebDeploy Publishing

At this point we have:

-Setup the recommended configuration for WebDeploy
-Setup necessary local user and folder
-Configured appropriate settings file to publish to the test site on our server.

In the next post, we’ll be showing you how to Import/Export your site within IIS8 and to perform one-click deployments from Visual Studio 2012.
 

For more information on WebDeploy, check out this site:

http://www.iis.net/downloads/microsoft/web-deploy

Windows Server 2012 comes packed with some impressive features, and we love breaking  them down for our clients. Whether you’re looking for a high-touch managed hosting for Dedicated or Windows Cloud Server needs, or just need a tutorial to do it yourself, we’re happy to help. For more information, feel free to connect with us. give us a call at 1-888-313-9421, or email us at Sales@OrcsWeb.com.  

Be Sociable, Share!
    • Tweet
    IIS IIS8, server, Servers, Visual Studio, WebDeploy, Windows Cloud Server, Windows Server 2012

    10 comments on “How to Install WebDeploy on Windows Server 2012”

    1. Use Web Deploy and Visual Studio to Import/Export IIS8 Sites | OrcsWeb Hosting says:
      September 25, 2012 at 2:25 pm

      [...] this companion post to, “How to Install WebDeploy on Windows Server 2012″, we’ll be giving a walk-through of using Visual Studio 2012 to perform an import, or [...]

      Reply
    2. WebDeploy Installation on Server 2012 | Gabe's Blog says:
      September 25, 2012 at 3:37 pm

      [...] http://www.orcsweb.com/blog/gabe/how-to-install-webdeploy-on-windows-server-2012/ [...]

      Reply
    3. Install WebDeploy on Windows Server 2012 | Ponderings - Various Topical Thoughts by Brad Kingsley says:
      September 26, 2012 at 7:33 am

      [...] How to Install WebDeploy on Windows Server 2012 [...]

      Reply
    4. The Morning Brew - Chris Alcock » The Morning Brew #1198 says:
      September 27, 2012 at 4:30 am

      [...] how to install WebDeploy on Windows Server 2012 – The team over at OrcsWeb Hosting share a walk through of getting WebDeploy set up and working on Windows 2012, providing easy deployment and migration of web application onto a 2012 server. [...]

      Reply
    5. Bill Ross - Pax EDI says:
      September 28, 2012 at 1:28 am

      When I right-click my web site in IIS I don’t see “Deploy” as an option. ??

      Reply
      • Gabe says:
        October 1, 2012 at 9:58 am

        Hi Bill, take a look at Control Panel > Programs and Features. Make sure that “Microsoft Web Deploy 3.0″ is listed there. If it is installed, try restarting the IIS Admin service and then check again. If still no luck try a reboot. If after performing all of these steps you are still unable to see the Deploy menu on your IIS8 site please comment back and I will try and assist you further.

        Thanks,
        Gabe

        Reply
        • Eric says:
          January 16, 2013 at 10:57 am

          I have the same problem. I can see the “deploy” menu but I cannot see the “configure web deploy publishing”

          Reply
    6. How To Deploy WebMatrix 2 Site To WebDeploy-Enabled IIS8 Site | OrcsWeb Hosting says:
      October 1, 2012 at 4:12 pm

      [...] [...]

      Reply
    7. Vinita says:
      December 14, 2012 at 11:19 am

      This is really great article and I am sure it is helping many people. I wanted to add my 2 cents by sharing a small video on steps to install and configure Windows Server 2012 https://www.youtube.com/watch?v=ykOGvkiqRdU. More videos are available at http://www.prohut.net/blogging/videos

      Reply
    8. Tim says:
      April 10, 2013 at 11:02 am

      “As of this writing in the Server 2012 RTM version, you’ll need to enter the username in the Servername\Username format as the clicking the Select… function will close IIS. This appears to be a bug.”

      As of 04/10/2013, this is still a bug. Windows 2012 Standard Edition

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


    Blog Archives


    Recent Posts

    • How to Calculate IOPs on a Windows Cloud Server
    • MySQL Workbench Quick Overview
    • Troubleshooting IIS application hangs / unresponsiveness

    Subscribe

    RSS Feed
    You can subscribe to the OrcsWeb Blog feed via RSS to receive updates when new entries are posted.

    Explore Our Windows Hosting Solutions


    Windows Cloud Server Hosting
    Dedicated Windows Server Hosting
    Windows Server Hybrid Hosting


    Tags

    Troubleshoot IIS8 windows saas hosting dedicated cloud PowerShell managed hosting cloud-server FTP Pci compliant hosting Windows Cloud PCI-DSS SSL Windows Server 2012 cloud-servers dedicated-server windows-cloud-servers Windows Cloud Hosting iis7 hosting How To ecommerce windows-server asp-net server sql Servers Technical database iis cloud-hosting Security sql server IIS 7 Privacy windows cloud server hosting managed windows hosting Windows Cloud Server pci-compliance
    Windows Server hosting Certifications

    Why OrcsWeb?

    "I cannot think of anything that OrcsWeb needs to improve upon. Every encounter with an OrcsWeb staff member has been great. They are knowledgeable, pleasant and eager to help. The organization is comprised of outstanding professionals."
    — Pete Peterson, SCI Healthcare Group

    At OrcsWeb, we take a completely unique approach from all other hosting providers. We implement over 17 years of architectural expertise right from the start, and follow up by serving our clients as a true extension of their internal team, identifying and resolving issues before they arise. Read more →
    (c) 1996 - 2013 OrcsWeb
    • About OrcsWeb
    • Privacy Policy
    • Windows Cloud Servers
    • Dedicated Windows Servers
    • Shared Hosting