Possible Duplicate:
Wildcard DNS and subdomains
I'm trying to create a domain alias, but I don't really know how to do this. I want all trafic on all ports and all subdomains to be redirected to another domain at the same port with the same subdomain (so any xxx.domain1.com:yy becomes xxx.domain2.com:yy).
Is this possible, and what is the best way to do this? I have full dns and root access to my server, if that's needed.
So then make the A record of xxx.domain2.com point to the IP given as A record of xxx.domain1.com.