RewriteEngine On
RewriteCond %{HTTP_HOST} ^ALTE-domain.de$ [NC]
RewriteRule ^(.*)$ http://www.NEUE-domain.de/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.ALTE-domain.de$ [NC]
RewriteRule ^(.*)$ http://www.NEUE-domain.de/$1 [L,R=301]
UrlToolkit {
ToolkitID = redirect
Header Host ^ALTE-domain.de$ Skip 1
Header Host !^www.ALTE-domain.de$ Return
Match ^/(.*) Redirect http://www.NEUE-domain.de/$1
}