I am using SDL Web 8 with DXA1.6 framework to create MVC Webapplication. As per DXA reference implementation guide it ask to create mapping using Toplogy Manager cmdlet. This step forces to have 1 to 1 mapping between publication and webapplication(deployed in IIS)
Add-TtmMapping -Id {MAPPINGID} -PublicationId {PUBID} -WebapplicationId {WEBAPPLICATION}_RootWebApp
But my webapplication needs to serve webpages for multiple US states + languages combination. Thus I have below six publications from where i will be publishing the content and pages to be used in my web application and in future it may add up more to the list.
Publications in CMS:
publication 1 : website {US State1}_ENGLISH
publication 2 : website {US State1}_SPANISH
publication 3 : website {US State2}_ENGLISH
publication 4 : website {US State2}_SPANISH
publication 5 : website {US State3}_ENGLISH
publication 6 : website {US State3}_SPANISH
website URLs list:
http://{domain-name}/{state1}/{language1}/{page-name}
http://{domain-name}/{state1}/{language2}/{page-name}
http://{domain-name}/{state2}/{language1}/{page-name}
http://{domain-name}/{state2}/{language2}/{page-name}
http://{domain-name}/{state3}/{language1}/{page-name}
http://{domain-name}/{state3}/{language2}/{page-name}