Normally, an NIS master server supports only one NIS domain. However, if you are using a master server to support multiple domains, you must slightly modify the steps, as described in How to Set Up the Master Server, when setting up the server to serve the additional domains.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
# domainname sales.example.com
# make DOM=sales.example.com