Configure hosting server and terminal server aliases - kimmknight/raweb GitHub Wiki

If you want to customize the name of the hosting server that appears in RAWeb or any of the remote desktop clients, or you want to customize the names of the terminal servers for your remote apps and desktops, follow the instructions after the example section.

Example (before and after)

Using <add key="TerminalServerAliases" value="WIN-SGPBICA0161=Win-RemoteApp;" />

Before After
image image
image image
image image

Method 1: IIS Manager

  1. Once RAWeb is installed, open IIS Manager and expand the tree in the Connections pane on the left side until you can see the RAWeb application. The default name is RAWeb, but it may have a different name if you performed a manual installation to a different folder. Click on the RAWeb application.
  2. In the Features View, double click Configuration Editor image
  3. Change the Section to appSettings. image
  4. In the Actions pane, click Edit Items to open the Collection Editor. A new window will appear. image
  5. In the Collection Editor window, click Add. image
  6. Specify the properties. For key, use TerminalServerAliases. For value, specify the aliases with the format ServerName1=Alias 1;. You can specify multiple aliases separated by semicolons. When you are finished, close the Collection Editor window. image
  7. In the Actions pane, click Apply to save your changes. image

Method 2. Directly edit Web.config.

  1. Open File Explorer and navigate to the RAWeb directory. The default installation directory is C:\inetpub\RAWeb.
  2. Open Web.config in a text editor.
  3. If there is no appSettings element inside the configuration element, add <appSettings></appSettings> inside of the configuration element.
  4. Inside the appSettings element, add: <add key="TerminalServerAliases" value="" />
  5. Edit the value attribute to specify the aliases. You can specify aliases with the format ServerName1=Alias 1;ServerName2=Alias 2;.
  6. Save the file.