Deploying applications on a WildFly domain is not as simple as deploying to a standalone server. There is no predefined
deployments folder in the domain installation. The reason for this is that in the
domain mode, there can be many servers belonging to different server groups, each one running different profiles. In this situation, a single
deployments folder raises the obvious question: which server groups will use that folder?
The command-line interface (CLI)
The admin web interface
[disconnected /] connect domain@localhost:9990 /]
When you deploy an application using the domain mode, you have to specify to which server group the deployment is associated...