[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

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
0
Abdu_Allah
Asked:
Abdu_Allah
  • 5
  • 4
  • 3
  • +2
6 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
0
 
Abdu_AllahAuthor Commented:
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
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
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.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Abdu_AllahAuthor Commented:
Is it possible or not?
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I told you:

 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.
0
 
Abdu_AllahAuthor Commented:
I could not understand what do you mean by URL won't work ?
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
In IIS you can create a virtual directory pointing to another web site, for example, http://mysite.com/othersite, via UNC which uses UNC paths - \\server\share,

You cannot use JUST a server via UNC - how is the IIS server to know WHICH share on the server you want to access by just providing the server name.
0
 
Abdu_AllahAuthor Commented:
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
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Unless you only have one volume on your server (such as C:\) and you share it at the Root level... but that is VERY DANGEROUS to do!

Jeff
TechSoEasy
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
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
0
 
mrenosCommented:
If i got it correct you want from server2 through http to have access into all the directories that server1 shares ?
(Based in your question : I want to create Virtual directory in Server2's webserver that point to Server1, Is it possible?)

You can do that but why do you want to do it ? And for what reason.
You can create a virtual directory in server2 that will point using UNC path in \\server1
But there are also some other things that we have to see here, like permissions security etc.

Helps us, so we can help you.

Babs,
Hope this helps..
0
 
Abdu_AllahAuthor Commented:
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.
0
 
LazarusCommented:
Have you thought of using DFS?

You can think of a DFS root as a centralized virtual file share structure. It is a hierarchy of shares across your network that is collectively brought together for easy access and administration. Each share in your DFS root that represents a share located somewhere on your network is referred to as a link. Much like a website contains links to other pages, a DFS root contains links to shared folders across your network. These shares do not even need to be Windows shares; they can be UNIX or Netware volumes, too! If your network is a hybrid of different operating systems, DFS can be a great tool to implement.

Another advantage of hosting a root on a domain controller is that you do not have to point your users to a specific server on the network as you would with a stand-alone root. In other words, you simply have to only point them to the share using the domain path, as in <domain_name/share_name>.

I realize this is not exactly what you are asking but might be something to look at for your purpose.
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Well, I'm not sure what the web based software is that you have, but since you haven't told us what it is, I can only think that it's the wrong solution if it requires that kind of programming to get it to work.

Trying to fit a bad solution into a situation when there are other, better solutions available will be costly in both the short term and the long term.  You need to review the actual needs of your client and provide them with a solution that does not require such drastic and extensive modifications.

From only the little information you've provided, however, I think that you may want to look at Microsoft Office Groove or Windows Sharepoint Services for this situation.

Groove:  http://www.microsoft.com/office/preview/programs/groove/highlights.mspx

Sharepoint: http://www.microsoft.com/windowsserver2003/technologies/sharepoint/default.mspx

Jeff
TechSoEasy
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 4
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now