1) How would I redirect user1.domain.com to display domain.com/user?id=1 content?
2) How would I redirect domain1.com to display sub.domain2.com's content?
I have both domains on the same server/host, so I don't think changing A records in the DNS is the issue.