I have a system with two different domains in it: On for production and one for development. In Site Handling I am using a condition to differentiate the two.
How can I access the name of the current domain in my TypoScript setup? I want to put the domain name in the middle of a text string, which is later output in the website.
I tried defining the domain in the settings: section of config.yaml. But how do I change it depending on the system I am on? I did not find a way to use a condition there. Is there a recommended way to achieve what I am looking for?