Setting the hostname for links in generated emails

Edge for Private Cloud v4.18.01

Edge automatically sends emails in response to certain events as described in Customizing Edge Email Templates.

Many of these emails contain a link. For example, when a new user is added to an organization, the Edge UI sends the user an email containing a login URL in the form:


The domain is determined automatically by Edge and is typically correct for the organization. However, there is a chance that when the Edge UI is behind a load balancer that the automatically generated domain name is incorrect. If so, you can use the conf_apigee_apigee.emails.hosturl property to explicitly set the domain name portion of the generated URL.

To set the domain:

  1. Open the file in an editor. If the file does not exist, create it::
    > vi /opt/apigee/customer/application/
  2. Set conf_apigee_apigee.emails.hosturl. For example, set conf_apigee_apigee.emails.hosturl as:
  3. Save your changes.
  4. Make sure the properties file is owned by the 'apigee' user:
    > chown apigee:apigee /opt/apigee/customer/application/
  5. Restart the Edge UI:
    > /opt/apigee/apigee-service/bin/apigee-service edge-ui restart