Make a directory on a server part of another server's domain
October 29, 2005
Elearning | IIS Management | SCORM | Web Building

Sometimes it is necessary to have files or an application on one IIS web server (Server B) appear as if they were in the same domain as another server (Server A). For example, you may want

http://serverB.com/content
to be accessible via the URL
http://serverA.com/content 

This is useful in cases where you need to avoid cross-doman scripting issues, or simply want to make everything appear to be hosted under one umbrella domain name.

On an IIS server, this can be accomplished by creating a virtual directory on Server A which points to a directory on Server B.


Ads by Google

Posted by ellen at October 29, 2005 10:08 PM

  1. Open IIS Manager on Server A and right click on the Default Web Site. Select New Virtual Directory from the menu.

    Select New Virtual Directory

  2. The Virtual Directory Creation Wizard will start. Click "Next."

    Click Next

  3. Enter the alias name you want to use for the new directory. This will become part of the path.

    Type an alias

  4. Enter the path to the real network directory that this virtual directory will point to. This must be a file system path, not a web path. The real directory have access permissions set to be web-accessible.

    path.gif

  5. Enter the name and password of a network account with the minimum sufficient privileges to access the content in the directory.
    username.gif
  6. Select the web permissions for the directory.
    permissions.gif
  7. Click "next" and you're done! The directory should now be accessible via a URL like;
    http://serverA.com/content as well
    completed.gif
  8. For more information see Microsoft's Knowledgebase article "HOW TO: Create a Virtual Directory on an Existing Web Site to a Folder That Resides on a Remote Computer"


    Ads by Google


Ads by Google

 RSS   |   Contact Me


Ads by Google