One of the main advantages of setting up a WildFly domain is the control over, and management of, the server configurations and deployments from a single centralized point. The main domain configuration consists of the following two files found in the
JBOSS_HOME\domain\configuration folder, which are as follows:
domain.xml: This file describes the capabilities of your domain servers and defines the server groups that are part of the domain. While this file can be found on each host, only the
domain.xmlfile found on the domain controller is used.
host.xml: This file is present on each host where the domain is installed and specifies the elements specific to the servers running on the host.