In your example you mention one base URL (corresponds to Website in TTM terminology), but you mention two CD Environments: STG and LIVE.
These two CD Environments should have distinct Websites (base URLs). Furthermore, each Website has at least one WebApplication (often only a root WebApp, so that the URL of the WebApp is the same as the base URL of the Website).
Now, these two CD Environments belong together and they both serve a distinct purpose: one is for Staging and one for Live. These are the CD Environment Purposes.
The fact that they belong together means that they form a CD Topology and the Topology Type defines that the CD Topology consists of two environments: one with purpose Staging and one with purpose Live.
That outlines what your Topology Manager configuration looks like. Now, let’s look at Content Manager.
To be able to publish to your CD Topology, you will need to define a Business Process Type in Content Manager. This Business Process Type has an associated Topology Type in Topology Manager. It will also contain Target Types associated with the CD Environment Purposes of the Topology Type.
You associate the Publications you want to publish from with the Business Process Type.
Now, if you publish, you will see the two Target Types (or CD Environment Purposes, if you wish). However, if you would try to publish to any of those Target Types, you will see that nothing is resolved. That is because you haven’t defined any Mappings yet.
Finally, open the Publication properties and go to the Publishing tab. You will see the Target Types / Purposes listed there again and you can map each to a Web Application (represented by its URL) in Topology Manager. Optionally, you can specify a path for the Mapping (Relative URL in TTM Terminology). This Relative URL is appended to the Web Application’s URL.
In your case, you have two Publications (EN and FR) which both map to the same Website/WebApp (for the same Target Type). This is only possible if the Mappings have distinct Relative URLs, e.g.
fr. As a result, the Mappings’ Primary URLs will look like
You can also use the
Add-TtmMapping PowerShell cmdlet to create Mappings or the
Get-TtmMapping cmdlet to get an overview of all your Mappings.