• <1 minute

Remote Administration of Windows Azure Websites using IIS Manager

Recently, we have added the ability for customers to administer their Azure web sites using the IIS administration console that comes with Windows. IIS Manager has HTTP over SSL support to provide a…

Recently, we have added the ability for customers to administer their Azure web sites using the IIS administration console that comes with Windows. IIS Manager has HTTP over SSL support to provide a secure Connection to your Windows Azure Website, and the configuration you set will be set in the site’s web.config file directly. Using INETMGR for this gives the following benefits:

  • A familiar user interface for website administrator
  • Easier to use than editing web.config manually (especially for some complex options like URL rewrite rules)
  • Reduce the risk of syntax or formatting errors common with editing web.config directly

Prerequisites

Steps for connecting to a Windows Azure Website

1. Run IIS Manager with remote administration and select the option Connect to a site…

2. In Server Name, type in the SCM URL for your site. The SCM URL (also known as KUDU site URL) is similar to your site’s URL, but with .SCM added after the site name in your site URL. For example, if your site name is Contoso, and your Azure Web Sites URL iscontoso.azurewebsites.net, then your SCM site would be contoso.scm.azurewebsites.net. In addition, you must specify the port 443 in the URL, as can be seen in the screenshot below:
3. Enter your publishing credentials. If you haven’t changed the system-generated password that Windows Azure created for you, then you could either reset them, or download them from the portal – see below for more information about that.
4. IIS Manager will now try to connect. If it is successful, you will be prompted to provide a name for the connection:
5. After you click Finish, IIS Manager will show you the familiar group of site-level configuration icons and options, and you can start administering your site!

Obtaining or resetting your deployment credentials

When you create a website in Windows Azure Web Sites, Azure automatically generates deployment credentials. The username is the site name, prepended by a dollar sign (for example, $contoso) and the password is a complex and long alphanumeric string. You can click Reset your deployment credentials on  your site’s Dashboard to set your own password, or click Download the publish profile to download an XML file that contains the password that was generated for you.