Looks like you didn't copy whole undertow subsystem configuration properly.
you are missing a handler named "subapp1-content" defined somewhere under <handlers>
You're completely right the missing part is(and a spelling error ). In the standalone mode it doesn't matter but in domain mode you need to set those handlers. Thanks
<file name="subapp1-content" path="/" directory-listing="true"/>