We are trying to configure multi-language sites in DXA 1.7 and web 8.5 combination. We have publications each for a language and one DXA app talking to the Discovery service to render the sites. We tried configuring
Added cd_dynamic_conf.xml
as below :
<Publications>
<Publication Id="28">
<Host Protocol="http" Domain="www.domain.com" Port="80" Path="en" />
</Publication>
<Publication Id="29">
<Host Protocol="http" Domain="www.domain.com" Port="80" Path="es" />
</Publication>
</Publications>
And restarted the Application pool.On CMS, we configured the publishing path for each publication as en
and es
accordingly.
Under publication propoerties in Publishing tab, configured publishing target Staging with URL Path segment as "en" and "es" correspondingly however, when we try accessing the URL - http://www.domain.com/en/list.html we are seeing error like
No matching localization found.
Please help on this
We followed as suggested,but when we try to access our page with http://www.domain.com/en/index.html we are getting below error
Home Internal Server Error
An error has occurred. We apologize for any inconvenience.
In Logs i was able to the below error : Item '/en/error-404/index' not found for Localization '28'
Thanks Nuno.When we used Site Manager ,it worked and we are able to http://www.domain.com/en/index.html
But we are facing issue while accessing with the localhost(DXA code) http://www.domain.com:port/en/index.html
Getting "Item '/system/config/_all.json' not found for Localization '28'"
Should we add any configuration to run the code from DXA. Please suggest.
http://localhost
then you need to add a URL mapping to Topology Manager - see this comment from Rick: tridiondeveloper.com/…