title: Renaming applications in IIS 7.0
body: <p>It's generally known that you are not allowed to edit the application alias while editing application settings through window interface of IIS Manager. The alias of an application has the gray color (not admitted to change). But in this article you may found how to do this through the command-line utility software:</p>
  
  <p><a href="http://www.foliotek.com/devblog/rename-applications-and-virtual-directories-in-iis7/" rel="noreferrer">http://www.foliotek.com/devblog/rename-applications-and-virtual-directories-in-iis7/</a></p>
  
  <p>But there is an another way to do it. You can edit the settings file as it is written in this article:</p>
  
  <p><a href="http://learn.iis.net/page.aspx/150/understanding-sites-applications-and-virtual-directories-on-iis-7/#Configuration" rel="noreferrer">http://learn.iis.net/page.aspx/150/understanding-sites-applications-and-virtual-directories-on-iis-7/#Configuration</a></p>
  
  <p>In the settings file I just changed the value ("/Site1") of the path attribute at the application element and nothing more:</p>
  
  <pre><code>&lt;application path="/Site1" applicationPool="DefaultAppPool"&gt;
      &lt;virtualDirectory
          path="/" 
          physicalPath="C:\Sites\Site1" /&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>The issue is that I don't know whether these two ways is the same and have the same results. Maybe the command-line utility (appcmd) does some additional work except just renaming the application name?</p>