Friday, 4 April 2014

Sitecore: Site resolver issue with similar domains

I faced an issue with Sitecore Site resolver with similar domain (hostName).

If there are two different websites with similar domain (www.example.com and www.example.com.pl), Sitecore resolves the site based on the order of site node in the web.config (or SiteConfiguration.config in includes folder).

Configuration: (Not Working)
Order 1: <site hostName=”www.example.com” …
Order 2: <site hostName=”www.example.com.pl” …

Sitecore resolves to www.example.com even though we browse www.example.com.pl.
--------------------------------
Configuration: (Working)
Order 1: <site hostName=”www.example.com.pl” …
Order 2: <site hostName=”www.example.com” …

Here, order has been changed to COM.PL first and Sitecore resolves properly for both the domains – www.example.com, www.example.com.pl


Is it a Sitecore site resolver issue or is it an expected behavior?

Sitecore support ticket has been created – 408068. Waiting for their inputs…
J


No comments:

Post a comment

Articles

Sitecore 9.3 released!

Sitecore 9.3 has the Solr 8.1.1 support (Sitecore compatibility table is yet to be updated). SIF 2.2.0 Got a new editor - The Horizon edi...