When I am redirected to the secondary server, it shows the hostname instead of the alias in my web browser.
Release: SDMU0M99000-14.1-Service Desk Manager-Full License
To change this behavior, you should update the RedirectingURL parameter in all the web.cfg files with the desired URL. (The web.cfg file is located $NX_ROOT\bopcfg\www)
After making this change you need to restart the services on the primary. After this is done, test to make sure that the redirecting URL is working as intended.
To preserve the changes, make the same update to the RedirectingURL parameter in the web.cfg.tpl file located in $NX_ROOT\bopcfg\www. This will ensure that changes are saved after running pdm_configure.
RedirectingURL parameter description:
# RedirectingURL specifies the full URL for redirecting the request to
# the webengine. By default, it uses 'CAisd' and the value set for the
# Cgi variable to construct the URL.
# If this webengine uses SSL connection, the protocol, https, needs to
# be added to the URL, for example,
# RedirectingURL https://<machine name>/<cgi directory>/<cgi name>
! RedirectingURL http://<machine name>/<cgi directory>/<cgi name>
Related document: How to use DNS name within CA Service Desk Manager (CA SDM)?