Portal Redirecting away from DNS Alias to Hostname

Discussion created by codymc77 on Jul 11, 2019
Latest reply on Dec 15, 2019 by crussellesriaustralia-com-au-esridist

I'm running ArcGIS Server and Portal 10.6.1 with a web adaptor configured for each on the same server. Everything was working fine, but suddenly viewer pages are not loading. Upon inspection, I realized that the viewers are being redirected to {servername}.com instead of {alias}.com. On our intranet, {servername}.com does not resolve because it is not secure (our ssl certificate is set to {alias}.com). On the server, when I try to login to Portal, it does the same redirection, away from {alias}.com/portal to {servername}.com:7443/arcgis/home. At first I suspected the web adaptor, but then I tried to login at {alias}.com:7443 and it still redirects. Interestingly, I can login to portaladmin at (alias}.com/portal/portaladmin. I've rebooted the server, tried unregistering and re-registering the web adaptor, added a web context url to system properties (https://{alias}.com/portal), however I keep hitting this redirect problem. Anyone know what may have happened?