---
title: "How do I change the hostname in e-mail notifications?"
description: "The hostname in OP5 Monitor e-mail notification links defaults to the monitoring server's hostname. You can change it by creating a notify configuration file and setting the hostname property."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020054514-op5-monitor-how-do-i-change-the-hostname-in-e-mail-notifications/index.html"
---
## Question

---

How do I change the host name for my OP5 Monitor server in status links within e-mail notifications?
My users use another domain name to access the monitoring system.

## Answer

---

By default, the monitoring servers host name will be used in links.
If you want to override that setting, you need to create a configuration file for "notify" and set the "hostname" property.

Below are the commands to override that setting to be executed on the monitoring server

```
## echo "hostname: hostname.in.notifications" >> /etc/op5/notify.yml
## chown monitor:apache /etc/op5/notify.yml
## chmod 664 /etc/op5/notify.yml
```


