Alright, with ispconfig 2. I have a client who owns the domain 'sampledomain1.com' and they need to move it from a previous hosting company to my servers. They also want to move the domain from 'sampledomain1.com' to 'sampledomain2.com'. What is the easiest way to forward visitors from the first domain to the second? and also forward e-mails from the previous domain e-mail accounts to the new accounts at the new domain?
I'd do this with a rewrite rule (see http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html ). You can do this with a Postfix transport. See Code: man 5 transport
If the new domain is on another server, you can use postfix transports. If the domain is on the same server, add the old domain as co-domain to the website of the new domain, then ispconfig 2 will ceate aliases automatically.