0

I want to point my domain to cPanel for hosting and Google Apps for email and same time I want the domain to ignore mx entry on the server so if the server goes down I can still receiving emails to Google Apps

Any Ideas?

1 Answer 1

5

If you just want Google to handle your mail, and bypass your server all together, just edit your domain's DNS settings with Google's MX records, while pointing everything else to the cPanel server.

Here's what a BIND config file looks like on one of the domains I manage that does just this (slightly modified):

@               IN      MX      1       ASPMX.L.GOOGLE.COM.
@               IN      MX      5       ALT1.ASPMX.L.GOOGLE.COM.
@               IN      MX      5       ALT2.ASPMX.L.GOOGLE.COM.
@               IN      MX      10      ASPMX2.GOOGLEMAIL.COM.
@               IN      MX      10      ASPMX3.GOOGLEMAIL.COM.
@               IN      A       {cPanel IP Address}
www             IN      A       {IP Address}

You can edit www with a wildcard such as...

 *.            IN      A       {IP Address}
9
  • OK, But this way if the server goes down I will not be able to receive E-Mails Dec 17, 2011 at 17:46
  • That's why it is an absolute requirement to have two different name servers - so that if 1 name server goes down, your domain will still resolve. If you're using cPanel as your nameserver, then I recommend at least using your Domain Registrar as your secondary nameserver - most Domain Registrars provide some functionality, anyway.
    – David W
    Dec 17, 2011 at 17:49
  • My domain registered at Netfirms.. When I added Google Apps MX to the domain and then I shut down the server it hasn't resolved the MX Dec 17, 2011 at 17:52
  • 7
    Judging from this discussion, it sounds like you're either way in over your head, or need to ask another question on the main site in order to get all the help you need.
    – Tablemaker
    Dec 17, 2011 at 18:30
  • 1
    +1. This discussion is getting out of the scope of the original question, so I think you should either ask a new question, or contact your Domain Registrar's support to help get the DNS settings implemented properly through their site.
    – David W
    Dec 17, 2011 at 18:35

Not the answer you're looking for? Browse other questions tagged .