Renaming Applications In IIS7:

Open a command prompt to see all of your applications.
C:> %systemroot%\system32\inetsrv\appcmd list app

APP "Default Web Site/OldApplicationName"
APP "Default Web Site/AnotherApplication"
Run a command like this to change your “OldApplicationName” path to “NewApplicationName”. Now you can use http://localhost/newapplicationname
C:> %systemroot\%system32\inetsrv\appcmd set app "Default Web Site/OldApplicationName" -path:/NewApplicationName;

APP object "Default Web Site/OldApplicationName" changed
Renaming Virtual Directories In IIS7

Open a command prompt to see all of your virtual directories.
C:> %systemroot%\system32\inetsrv\appcmd list vdir

VDIR "Default Web Site/OldApplicationName/Images" (physicalPath:\serverimages)
VDIR "Default Web Site/OldApplicationName/Data/Config" (physicalPath:\serverconfig)
We want to rename /Images to /Images2 and /Data/Config to /Data/Config2. Here are the example commands:

C:> %systemroot%\system32\inetsrv\appcmd set vdir "Default Web Site/OldApplicationName/Images" -path:/Images2

VDIR object "Default Web Site/OldApplicationName/Images" changed

C:> %systemroot%\system32\inetsrv\appcmd set vdir "Default Web Site/OldApplicationName/Data/Config" -path:/Data/Config2

VDIR object "Default Web Site/OldApplicationName/Data/Config" changed



Correlate IIS Worker Process to Application Pool:

PS > cmd
cd %windir%\system32\inetsrv
appcmd list wp

Check the list against TaskMgr Process List, add column for PID.
    • Related Articles

    • IIS URLrewrite - WINDOWS

      Is the IIS URLrewrite module supported? -------------------------------------- Yes, IIS urlrewerite is supported on all our Windows 2008/IIS7 servers. You can read more on this at http://www.iis.net/expand/URLRewrite. .
    • Intro to IIS binding

      Intro to IIS bindings --------------------------- Microsoft’s Internet Information Services (IIS) has been built around a very flexible “binding” system.  When working with a website a “binding” is the combination of protocol (http, ftp, https, ...
    • Attaching IIS Resources to SolidCP

      To attach existing IIS resources to the SolidCP Control Panel: log into solidCP as serveradmin navigate to an account 1) click Space Statistics 2) On the lower right under tool you will find "Import Resources" 3) Select the resources you want to ...
    • Password Protect Directory Directly From IIS - VPS/Dedicated Servers

      In the event that you want to lock down a specific directory and you have administrator privileges on the server, this is one way you can go about it. Log into the server and open IIS Manager Drill down the navigation tree to the domain and/or ...
    • IIS Detailed errors

      If you want to enable this detailed error message to be shown on the clients as well, then you need to change the setting in the IIS7 manager. Follow the below steps for the same: 1. Open the IIS7 manager 2. Select the Website and on its features ...