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.

How to use a different server for mails than a website is hosted on

Discussion in 'E-mail Discussions' started by MattDeox, Jun 27, 2014.

  1. MattDeox

    MattDeox Member

    Joined:
    May 18, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have several client websites on a cms hosted on amazon EC2 and I have a dedicated webserver with cpanel. I don't have access to the code of the cms.

    Now the cms doesn't have email capabilities so I want to code something in PHP that runs on the dedicated cpanel server where clients can login, read and send emails.

    My question is how can I achieve this so the domain is pointed to the cms but emails will go to my dedicated server?

    I think zoho.com/mail offers this functionality but how can I use it on my own server without relying on zoho?

    The next question is: is the smtp server that comes with cpanel enough to do that or do I need to use something else?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can setup the account on the cPanel server and create the email accounts there. Then, modify the MX records at the DNS host of the domain name so they point to the cPanel server. Email is then handled by the cPanel server, where users can access webmail if necessary (You can setup an "A" record for webmail at the DNS host).

    Thank you.
     
  3. MattDeox

    MattDeox Member

    Joined:
    May 18, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    How would I need to setup the email for cpanel?
    Would I need to add the domain on cpanel and then create the email there or is it done differently?

    Is it possible to add the email without adding a user to cpanel?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You will need to create the account in Web Host Manager like you would for any other account, and then create the email accounts through cPanel. You can assign the account the X3Mail theme so that only mail options are visible.

    Thank you.
     
  5. MattDeox

    MattDeox Member

    Joined:
    May 18, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Okay I got it sorted
     
    #5 MattDeox, Jun 28, 2014
    Last edited: Jun 28, 2014
Loading...

Share This Page