Citrix Director – How to Make Director the Default Page within IIS

Citrix Director – How to Make Director the Default Page within IIS

On a recent project, I needed to create two Citrix Director servers. One for Citrix XenApp 6.5 and the other for XenApp 7.6. I looked for an article from Citrix on making the Director site the default page in IIS and did not find anything. So I have ripped off, I mean borrowed heavily from, the Citrix article How to Make StoreFront the Default Page within IIS to do what I needed done.

Complete the following steps to make a Director Web Site the default page within the IIS site:

On the Director server, copy the following text in a Notepad, as shown in Figure 1.

<script type="text/javascript">
<!--
window.location="/Director";
// -->
</script>
Figure 1
Figure 1

Select File > Save As, change Save as type to All Files, Type a file name with an html extension, and select Save. I used DirectorHomePage.html, as shown in Figure 2.

Figure 2
Figure 2

Copy the file, as shown in Figure 3.

Figure 3
Figure 3

and Paste to c:\inetpub\wwwroot, as shown in Figure 4.

Figure 4
Figure 4

Click Continue to provide Administrator permission, As shown in Figure 5.

Figure 5
Figure 5

Figure 6 shows the file copied.

Figure 6
Figure 6

Open IIS Manager.

Select the SERVERNAME node (top-level) and double-click Default Document, as shown in Figure 7.

Figure 7
Figure 7

Click Add… in the Actions pane, as shown in Figure 8,

Figure 8
Figure 8

and type the file name of the .html file used earlier, as shown in Figure 9.

Figure 9
Figure 9

Ensure the .html file is located at the top of the list, as shown in Figure 10.

Figure 10
Figure 10

Open an elevated command prompt and run IISRESET, as shown in Figure 11.

Figure 11
Figure 11

Now you can open a browser, go to http(s)://DirectorServerName, and the Director page will automatically open, as shown in Figure 12.

Figure 12
Figure 12

Thanks

Webster

8 Comments

  1. leemutpo

    Hi Carl, i’ve followed the steps above but it just don’t redirect, just show me the default iis webpage. Wondering where possibly have i done wrong? Many thx!

    • Carl Webster

      Not enough information. What version of Director? What Server OS? What else is installed on that server that uses IIS?

      Webster

  2. Eduard Hübner

    Can this also be done on the Delivery Controller without negative side effects?

    • Carl Webster

      I don’t typically install Director on a Delivery Controller but it should work as no controller component I am aware of uses IIS.

      Webster

  3. Darren

    Or just use HTTP Redirect feature in IIS console.

  4. G. Jongeneel

    Hi Carl,

    Within StoreFront 3.5, there’s an option in the GUI ‘Set a Receiver for Web site as the default page in IIS’. It removes the need for any of the steps you describe.

    • Carl Webster

      This customer is using XenApp 7.6 LTSR and StoreFront 3.0.1.54.

      Thanks

      Webster

  5. Martin Zugec

    Or you can just call the file Default.html and it will be selected automatically. We’re using default redirection of both StoreFront and Director in CXD-302.

Comments are closed