The setup script is intended only for installation and upgrade of the domain specific database.
This will only configure the database for a single domain. It will not register the domain in the domain configuration.
The domain must be manually configured in the databases according to the procedure for configuring your server park with patchman, as it depends on several values defined within the patchman configuration.
It is required to use separate virtual hosts for multiple domains, in order to allow domain-specific script to run at different versions.
It is recommended, when planning to use multiple domains, to use a separate virtual host for each web service role.
There can be multiple instances of the domain role, there can only be one support and one service role setup.