Do one of the following:
Leave domain1 intact, and create your other domains around it.
Remove domain1 and replace the hard-coded value for domain1 in JavaES-Install-Dir\lib\lib\package-appclient.xml with the new domain name. Repeat this step every time a new domain is created if domain1 is not present.