Configuring .NET Front-End Server Query Destination
To manually configure .NET Front-End server query destination
-
Using a local administrator account, connect to the Front-End server for which you want to change the query destination.
Note: It is recommended to make a backup of the web.config file before editing it.
-
Locate the web.config file of the IIS Web application hosting the Coveo .NET search interfaces.
Note: When you chose to let the CES installer create the website, the default web.config file location is: [.Net_Front-End_Path]\Web.
-
Using a text editor:
-
Open the web.config file.
-
Locate the <coveoEnterpriseSearch> tag, and then set the value of the hostname attribute to the host name of the Coveo Back-End server to which you want this Front-End server to send queries by default.
Examples: Typical cases are:-
hostname="localhost" when the Front-End and Back-End components are on the same server.
-
hostname="<CESMaster_hostname>" when the Front-End server sends queries to the Master server.
-
hostname="<CESBackEndNLBCluster_DNS_name>" when the Front-End server sends queries to the DNS name of the NLB Back-End server cluster.
<coveoEnterpriseSearch> <server hostname="CESBackEndNLBCluster" port="52800" servicesHostname="CESBackEndNLBCluster" servicesPort="52810" instance="default" mirrorName="default" sslCertificatePath="C:\Program Files\Coveo .NET Front-End 12\Web\certificate.p12" /> </coveoEnterpriseSearch>
-
-
Save the file.
The changes take immediate effect for new queries.
-
-
Repeat this procedure for each Coveo .NET Front -End server.