Forgot Password link generates email with the hostname instead of a valid URL with the service name.

Forgot Password link generates email with the hostname instead of a valid URL with the service name.

As above. When clicking on the 'Forgot Password?' link, an email is sent to the requester, which  looks similar to the below:
This results in the name mismatch with the certificate flagged up by the web browser when navigating to the above link. How can we change the [hostname] bit in the link above to represent the actual name of our PMP service, more like:
I've gone through the config files etc., but can see the 'Forgot Password?' link is using the '/login/ForgotPassword/jsp' script, which isn't located on the machine.

                New to ADSelfService Plus?