howtothings.co.uk
How to create a Virtual Directory (folder dir) in IIS - Printable Version

+- howtothings.co.uk (https://www.howtothings.co.uk)
+-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4)
+--- Forum: Website Development, Implementation and General Webmaster Support (https://www.howtothings.co.uk/forumdisplay.php?fid=9)
+--- Thread: How to create a Virtual Directory (folder dir) in IIS (/showthread.php?tid=1266)



How to create a Virtual Directory (folder dir) in IIS - Mark - 06-10-2012


How to create a Virtual Directory (folder dir) in IIS

IIS 6
1) Create a new folder to store files (normally under C:\inetpub\) (name it appropriately)
2) Open IIS (Internet Information Services) Manager
3) Expand server and Web Sites folder
4) Right click Default Web Site and select Add Virtual Directory...
Alias: cert (usually the name of the folder you created)
Path: The folder you created in step 1
5) Allow the following permissions: Read
6) Go to the folder you created in C:\inetpub\wwwroot and create a file called default.htm
You can test if it's working by going to http://localhost/foldername

To let people on the Internet connect you may have to change some security settings.
Go to properties on the folder in IIS then Directory Security and Edit... under Authentication and access control. Tick Enable anonymous access.
Under IP address and domain name restrictions click Edit.. and tick By default, computers will be: Granted access.


IIS 7
1) Create a new folder to store files (normally under C:\inetpub\wwwroot) (name it appropriately)
2) Open IIS (Internet Information Services) Manager
3) Expand server and sites folder
4) Right click Default Web Site and select Add Virtual Directory...
Alias: cert (usually the name of the folder you created)
Physical path: The folder you created in step 1
5) Go to the folder you created in C:\inetpub\wwwroot and create a file called default.htm
You can test if it's working by going to http://localhost/foldername

To let people on the Internet connect you may have to change some security settings.
Click the folder in IIS and in the right hand pane select Authentication make sure Anonymous Authentication is enabled.

I've also seen it in IIS7 where the default external site is SBS Web Applications.. so you may have to create the Virtual Directory under there.