The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

webmail and pages on different servers?

Discussion in 'E-mail Discussions' started by freddo, Mar 4, 2010.

  1. freddo

    freddo Member

    Joined:
    Feb 19, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vienna
    Hi,
    I wonder, if there is a solution for the following problem:
    A client wants his domain redirected to "server 2" but the mail-accounts should remain on "server 1".

    My idea was to change the A-entry to the new location (server 2) - but how can I configure the DNS-zone-file so that the mailaccounts are still accessible online?

    Thanks for your input!
    Fred
     
    #1 freddo, Mar 4, 2010
    Last edited: Mar 4, 2010
  2. freddo

    freddo Member

    Joined:
    Feb 19, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vienna
    ..just for the records: I think I found a solution - seems to work as follows:

    I changed the records in the DNS-zone-file as follows:

    domain.com. 14400 IN A XX.XXX.XX.XXX (=IP of remote server)
    (...)
    domain.com. 14400 IN MX 0 server1.myserver.com. (=local server)


    With this it is possible to use webmail as before through http://domain.com/webmail
    :)
     
  3. NimbleImps

    NimbleImps Registered

    Joined:
    Mar 4, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Did it work???
     
  4. freddo

    freddo Member

    Joined:
    Feb 19, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vienna
    Yes - seems to work.
     
  5. freddo

    freddo Member

    Joined:
    Feb 19, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vienna
    Another addendum:

    To be able to fetch mail with eg outlook, one has to change the mail-entry too:

    mail 14400 IN CNAME server1.myserver.com. (=local server)


    in the mail-client use as mailserver: mail.domain.com
     
Loading...

Share This Page