Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

closed as off-topic by Sven Apr 30 '15 at 16:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 5 down vote accepted

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}
share|improve this answer
OK, But this way if the server goes down I will not be able to receive E-Mails – Mohamed Atef Dec 17 '11 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 '11 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 – Mohamed Atef Dec 17 '11 at 17:52
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. – TylerShads Dec 17 '11 at 18:30
+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 '11 at 18:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.