The configuration file
cd_linking_conf.xml has an
OverrideDiscoveryService setting. Can this be configured in code, or in the Web.config?
Please try this sdl article(Mappings from Publications to URLs used to be configured in cd_link_conf.xml and cd_dynamic_conf.xml. The new Content Delivery architecture lets you store such mappings in Topology Manager, from which the Discovery Service can retrieve them. You can configure which of these places is used in your upgraded setup.)