Change the Windows server name

For the latest, most advanced host monitoring, check out New Relic Infrastructure.

Servers for Windows detects the hostname configured on your server and uses that name when creating the Servers list. You can change this name by adding a new registry key.

You can also associate arbitrary metadata with servers with labels and categories, which solves many problems typically addressed by renaming your servers.

Name change considerations

New Relic uses the hostname to link monitored applications to the server they are running on. Changing this hostname via regedit may cause a different hostname to be reported for the server than what is reported by any monitored applications. This difference can break the link between the app and the server in the New Relic UI.

Additionally, manual renaming explicitly overrides reporting of the OS-level hostname in the server monitor. Any subsequent update to the OS-level hostname will be reflected only in the monitored application in the New Relic user interface. This difference may cause the linkage between the application and the server in the New Relic user interface to break.

Changing the server name

Only edit the entries mentioned in this procedure. Making incorrect edits with regedit can damage your installation.

To change the name to which your server reports:

  1. Open the regedit utility.
  2. From the left pane, select the HKEY_LOCAL_MACHINE entry.
  3. From the right pane, select Software > New Relic > Server Monitor.
  4. Right-click Server Monitor and select New > String Value.
  5. Double-click the new value (New Value #1). In the Value name: field, enter Host. In the Value data: field, enter the name you want to use as your hostname. Select OK.

For more help

Discuss New Relic Servers in the New Relic Online Technical Community! Troubleshoot and ask questions, or discuss Servers for Linux or Servers for Windows in detail.

If you need additional help, get support at support.newrelic.com.