if we define hostname wrongly under sites section of web.config.
Suppose as per host file entry hostname value in web.config is ABC. if i changed the hostname value to xyz. in this case which url coveo result link points. whether abc or xyz or content author url. please help me
Just on top of the
hostName: The host name of the incoming url. May include wildcards (ex. www.site.net, *.site.net, *.net, pda., print..net) It's possible to set more than one mask by using '|' symbol as a separator (ex. pda.|print..net)
targetHostName: The host name to use when generating URLs to items within this site from the context of another site. If the targetHostName attribute is absent, Sitecore uses the value of the hostName attribute instead. Used only when the value of the Rendering.SiteResolving setting is true.
The URL of C4SC results will depend of the targetHostName, not hostName (as long as the ResolveResultClickableUriProcessor is declared in your configuration)