Please see create-domain manpage:
<install-dir>/bin/asadmin create-domain --help
Basically, the syntax is:
<install-dir>/bin/asadmin create-domain --adminuser <domain-user> --portbase <portbase#> domain-name
[Message sent by forum member 'janey' (janey)]
http://forums.java.net/jive/thread.jspa?messageID=212253