Hello is there any way of giving a virtual directory an alias so that it keeps its original name on my intranet but when viewed externally it is something else i.e on intranet called "public_folder" and on internet "intranet"
Hope that makes sense


A very interesting question. I am thinking this can be done with IIS 6. What you would do is create two websites pointing to the same direction... one with one name, and the other with the other name, and have them pointing to the same directory of files.

If that fails, you could have a folder alias pointing to the orig file location, and make one website go to the real files, and the other website go to the alias, which will go to the files.

This is just theory; I have not tried it.


Excellent, thanks Christian, both sound like they should work will try them and post results here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.