• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a Virtual Directory (folder dir) in IIS
#1

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.

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create and implement an iframe Mark 0 5,558 08-11-2010, 12:13 AM
Last Post: Mark
  [CSS] How to create rounded / curved boxes Mark 0 6,124 24-10-2010, 10:04 PM
Last Post: Mark

Forum Jump: