Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


How to create a Virtual Directory (folder dir) in IIS
06-10-2012, 09:48 PM (This post was last modified: 27-12-2012 03:17 PM by howtothings.)
Post: #1
How to create a Virtual Directory (folder dir) in IIS

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.



[Image: engrish25.png]
Reply



Forum Jump:


User(s) browsing this thread: 1 Guest(s)