Moving a domain

Discussion in 'General' started by quentusrex, Nov 2, 2008.

  1. quentusrex

    quentusrex New Member

    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?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    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
     
  3. quentusrex

    quentusrex New Member

    I mean forward all new e-mails to the new domain.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     

Share This Page