If I want to change myDomain.com so that it automaticly points to myDomain.com/portal with out the portal I need to change the context-root.
As described here:
But which jboss-web.xml do I change for the portal?
Or some other one?
portal-server.war is the main portal webapp, that's whose context you should update.