We have been able to install wildfly 11.0 on our server.When we mention the IP address in the standalone.xml file it displays the file content when we run the IP address link.
Please use WildFly 17.0.1 (latest released) and try it out. I remember there was some similar issue in an older version of WildFly which was fixed later. Having said that it has nothing to do with IP address vs domain name.
However when we mention the dns server name it displays 404 not found error.
What is teh exact URL you are using and what does the displayed page look like? Are you sure that page is indeed being displayed by WildFly? By default, WildFly binds to localhost. How are you overriding it to bind to the domain name?