In this recipe, we will learn how to run WildFly in the domain mode. There are a few concepts that you need to be aware of—domain controller, host controller and server group. However, those concepts are all explained in the Appendix section of this book.
WildFly comes with pre-configured
host.xml files. There are two defined server groups: one named
main-server-group referencing the
full profile; the other one named
other-server-group referencing the
Each server group is then referenced into the
host.xml file by a list of servers or hosts.