Add, rename, and remove hosts

You can add and remove hosts for your applications. You cannot rename an existing host, but you can create applications named after a host or cluster. You can also assign a cosmetic label to the host, to differentiate hosts without changing the underlying hostname setting.

Add hosts

To add a host for monitoring, install the agent and start up your application. The host running the application will be identified to New Relic and will automatically appear on the site after a few minutes.

Rename hosts

It is not possible to change the hostname. However, you can create applications named after a host or cluster. For example, if hosts ey01-s00057 and ey01-s00058 are both part of a production tier, you can create an application called App - Production and have those two hosts report to it.

Change display name of hosts

You can also assign a display name to a host, to easily distinguish dynamically assigned hosts. This display name does not affect the link between an app and its parent server. The display name appears in the APM UI to decorate the automatically assigned "host:port" name.

In the following screenshot, QA Server and Local Dev Server are display names:


To set a display name:

The display name is not used in New Relic Servers, or in the Servers section of the APM Overview page.

Remove hosts

To remove a host, either:

  • Uninstall the agent
  • Disable it by editing or removing the agent configuration file. Make sure that all application server instances (Passenger, Jetty, etc.) have been fully restarted after disabling the agent.

Occasionally, rogue application server processes will continue reporting data. In this situation your app's health status indicator will appear green, even though you shut the agent down and verified that no data is reporting. Check your web server for stray processes, or get support at

Once all reporting applications are shut down on the old host, it may take up to ten minutes for the old host to disappear from the New Relic list and the new one to appear.

For more help

Additional documentation resources include:

  • Connecting hosts to your account (using your agent config file to control which hosts connect to your New Relic account)
  • Security (using your agent config file to define proxy settings, including hosts)

Join the discussion about New Relic APM in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at