what is the difference between add application and add virtual directory?
Virtual Directory is the path that you specify in IIS which maps to the physical location of the content. This path then becomes the part of the URL. An Application in IIS 6 is a virtual directory which contains some or more of the application pool properties. This again becomes the part of the website URL.