Link to home
Start Free TrialLog in
Avatar of Abdu_Allah
Abdu_Allah

asked on

Can I create Virtual Directory for an entire server?

Hi, Can I create Virtual Directory for an entire server? for example if there is a UNC path in Server2 like the following \\Server1\
I want to create Virtual directory in Server2's webserver that point to Server1, Is it possible?

thanks
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Avatar of Abdu_Allah
Abdu_Allah

ASKER

thank you leew but I know that I can use UNC in Virtual Directories. My question was if the Virtual Directory can just point to server name and not specific directory in that server? like this \\Server1
I'm not sure what you're trying to accomplish?  Do you have another web site you are trying to point to?  If so, then you can do that, but not via UNC, you'd redirect via URL.  If URL won't work (the machine is otherwise not publicly available, then NO you cannot redirect via UNC without providing a share name at the least.
Is it possible or not?
SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I could not understand what do you mean by URL won't work ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I want to make all folders in that server(not just specific folder) is available to the webserver, how can I do that? any thoughts?

Points: 250 -> 500
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You have to realize that if you make ALL folders available via IIS, then your system security folders are vulnerable which opens up the vulnerability of your entire network.

Jeff
TechSoEasy
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We have a web based software that share files and each user have a UNC path, to make these UNC paths reachable from the internet we have to make them available by create a virtual directory for them, the problem is that each of our customer has a different users' structure, to solve this problem we write a script that create virtual directory for each user's path but this is unfortunatly is not practical way since some customers may have thousands of users and creating thousands of virtual directories is not a good idea.
I thought here that we can create one virtual directory that points to the root of the server that have the users' paths so that we can make each user path is avalable to the internet.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial