What is the Virtual Directory on IIS and how do I use it?

Warning: The Virtual Directory tool is an advanced tool. 

Improper use of this tool can render your website nonfunctional. 

The Virtual Directory tool in the control panel allows you to designate a directory as another application within IIS.

It means that you have separate Session,Application,web.config files for your Virtual Directory and you couldnt share your session between Virtual Directory and your parent web.

So You will lost all your session variables if you pass your page to the page inside the Virtual Directory.

Was this answer helpful?

 Print this Article

Also Read

How do I Disabled Directory Browsing in IIS?

Directory browsing means that when you create a directory without an index file , people can just...

How do I create virtual directory for my site?

Login to Control Panel Under "Hosting Management" on right hand column, click "IIS Manager"...

How do I manage my site Default Document?

Login to Control Panel Under "Hosting Management" on right hand column, click "IIS Manager"...

How do I change my Control Panel Password?

If you would like to change the password for your main account, you will simply need to follow...

How do I add a domain alias (pointer) for my site?

Login to Control Panel Under "Hosting Management" on right hand column, click "IIS Manager"...