In my scenario, I have two brand sites with different locales.
e.g
www.brandsite1.com/en/pl
www.brandsite2.com/en/us
When a user looking for www.brandsite2.com/en/pl
the DXA Framework shows error page with the brandsite1 layout and theming. Since the relative URL Pl present in brandsite1.
Can someone help me to resolve the issue?
Trdion DXA Version: 2.0 .Net Framework.
Topology Manager:
BaseUrls : {http://staging.brandsite1.com, http://localhost:50534}
CdEnvironmentId : CdEnvironment1
EnvironmentPurpose : Staging
CdEnvironment :
ScopedRepositoryKeys : {}
Id : brandsite1Website
ExtensionProperties : {}
BaseUrls : {http://staging.brandsite2.com, http://localhost:50543}
CdEnvironmentId : CdEnvironment1
EnvironmentPurpose : Staging
CdEnvironment :
ScopedRepositoryKeys : {}
Id : CarrierWebsite
ExtensionProperties : {}
ContextUrl : /
WebsiteId : brandsite1Website
EnvironmentPurpose : Staging
CdEnvironment :
ScopedRepositoryKeys : {}
Id : brandsite1Website_RootWebApp
ExtensionProperties : {}
ContextUrl : /
WebsiteId : brandsite2Website
EnvironmentPurpose : Staging
CdEnvironment :
ScopedRepositoryKeys : {}
Id : brandsite2Website_RootWebApp
ExtensionProperties : {}
CmEnvironmentId : Tridion_cm_user
PublicationId : tcm:0-50-1
EnvironmentPurpose : Staging
WebApplicationId : brandsite1Website_RootWebApp
RelativeUrl : /pl
PrimaryMappedUrl : http://staging.brandsite1.com/pl
IsOffline : False
CdEnvironment :
Id : brandsite1WebsiteMappingPL
ExtensionProperties : {}
CmEnvironmentId : Tridion_cm_user
PublicationId : tcm:0-60-1
EnvironmentPurpose : Staging
WebApplicationId : brandsite2Website_RootWebApp
RelativeUrl : /en
PrimaryMappedUrl : http://staging.brandsite2.com/en
IsOffline : False
CdEnvironment :
Id : brandsite2WebsiteMappingEN
ExtensionProperties : {}