After adding alias for the server, the search stopped returning the value.
Alias added to DNS, registered alternative configuration on Intranet and Search Service Application: Server Name Mappings.
What is the problem?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
Did you set AAM for your web application? If yes, you need to configure content source using the default zone url.
In addition, if you configure Server Name Mappings, remember to do a full crawl for your content source.
There are two articles for your reference:
Alternate Access Mappings (AAMs) *Explained