Tech News

Setting up a memorable address for your Process Library

Home

The full address to your Process Library's Live site may be a little complex to be easily memorable:

http://MyServerName/ProcessLibraries 2011/ProcessLibrary/Live

(which forwards to this, which is even less so!

http:// MyServerName/Triaster%20Browser%20Toolkit%202011/MobileHomepage/frames.aspx?sitetype=click&library=Process%20Library&site=live)

A simpler address, perhaps using just a more meaningful 'alias', is an easier alternative. Something of this form:

http://MyProcessLibrary

There are two aspects to enabling the use of such an address.

  • An alias defined in DNS to map the 'friendly' host name you want to use to the server name.
  • Configuring a landing page (a 'default document', in IIS parlance) that forwards to the desired library site.

Define a DNS alias

Using the above example, 'MyProcessLibrary' needs to be defined as a DNS alias for the server, 'MyServerName'.

Configure a landing page (default document)

A default document is created in the website root, and configured to forward to the desired process library website.

  1. On the Triaster server, open IIS Manager.
  2. In the left-hand pane, expand the tree so you see 'Default Web Site' and its applications and virtual directories listed beneath it.

    [Computer] ([User]) > Sites > Default Web Site

  3. Check the root folder associated with 'Default Web Site'.

    This is usually 'C:\Inetpub\wwwroot', but it may have been reconfigured, so let's check.

    • Right-click 'Default Web Site' > Manage Web Site > Advanced Settings...
    • Check the location of 'Physical Path'.
  4. Create a new default document (a default landing page)
    • In Windows Explorer, navigate to the folder associated with the 'Default Web Site'.

      You'll probably see an 'iisstart.htm' file, which is the IIS Welcome page that gets displayed when you use a URL that just references the server (or an alias).

    • Create a new default document by creating a new file, 'index.htm', with this content:

      <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
      <html>
      <head>
      <meta http-equiv='refresh' content='0; URL=processlibraries 2011/Process Library/'>
      </head>
      <body bgcolor='#ffffff' marginheight='0' marginwidth='0' leftmargin='0' topmargin='0' rightmargin='0'>
      </body>
      </html>
  5. Configure IIS to use the new default document.
    • In IIS Manager, in the left-hand pane, click 'Default Web Site'.
    • In the middle pane, under 'IIS', double-click 'Default Document'.

    • You'll see a hierarchy of file names (the files won't necessarily exist).

    • Click on 'index.htm' (which you've just created).
    • On the right, click 'Move Up' so that 'index.htm' is at the top of the list.

You should now find that when you execute this URL:

http://MyProcessLibrary

you should be forwarded to the Live site of the Process Library. If not:

  • Try restarting IIS (e.g. execute 'iisreset' (without quotes) at an Administrator command prompt, or there's a 'Restart' option in IIS Manager).
  • Try this address:

    http://MyServerName

    If this address works, it's a DNS look-up issue. The alias isn't being identified with the server name.

Note

This procedure includes a few assumptions, but if there are problems, consider these points:
  • The Process Library websites are hosted under 'Default Web Site'. If not, just look for the physical folder associated with the hosting website in the same way.
  • An 'index.htm' file doesn't already exist. If one does, create a new default document with a different name, e.g. index.html (whatever, really), and configure that in IIS Manager.
  • The Process Library is called 'Process Library'. If not, change the reference in 'index.htm' to point to the correct name.
  • There are similar forwarding pages implemented in these folders:

    Triaster\TriasterServer2011\ProcessLibraries\ProcessLibrary

    Triaster\TriasterServer2011\ProcessLibraries\ProcessLibrary\Live


    That would be a standard feature, so should be a safe assumption.

Register to receive product release notifications

SIGN UP FOR CONNECTOR

Sign up for Connector
Industry best practice and knowledge in our ‘best of breed’ newsletter.
Published bi-annually.

Signup here