Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to host only my email on host-gator but website on Amazon. How do make it work? The support don't really have the knowledge of this.

I tried to create a A record to the hostgator , can i have multiple A record? What i did was create a MX(webmail.domain.com) record in Route53 that point to my A record (webmail.domain.com) in Route53 which point to the host-gator email. That is what i'm told to do, but doesn't seem right.

DO i need to create a MX or something on host-gator? Quite confusing , not sure how it works.

Advice and knowledge would be greatly appreciated. Thanks ! :)

share|improve this question

2 Answers 2

up vote 1 down vote accepted

It sounds like you have two issues:

  1. The error message The parent nameservers do not have your nameservers listed means that you haven't told your registrar where your nameservers are. Your nameservers are probably either HostGator's or Route53's but you should not have both and you should only be changing entries in one of them - the correct one. The canonical question on how DNS works should help you to understand this.
  2. What you need in order to send email to HostGator and web traffic to AWS is:
    • An MX record that contains mail.example.com and a priority number.
    • An A record for mx.example.com that lists your HostGator IP address.
    • One of:
      1. A CNAME record for www.example.com that points to your AWS instance.
      2. An A record for www.example.com that points to your AWS Elastic IP.
    • You can choose to have an A record for example.com or not. If you do have one, it would be best to point it at your AWS Elastic IP.

You can have multiple A records for a single name but doing so will not achieve what you are trying to achieve. This is called Round-Robin DNS and clients will choose one of the returned IP addresses (usually at random) and use that address until the TTL expires.

share|improve this answer
    
Dont really understand. Sorry. I have my registrar nameserver as amazon's and would like to manage the mail/server from route 53. Email handled by hostgator, webhosting handled by ec2 –  User1291223 Jan 17 '13 at 16:18
    
My current MX name is webmail.domain.com , value 10 webmail.domain.com --- A record name is webmail.domain.com , value [hostgator ip] –  User1291223 Jan 17 '13 at 16:20
    
That's probably fine, but you have to fix the problem I labeled as 1. first, because no one else can look up those MX or A records until you fix the first problem. –  Ladadadada Jan 17 '13 at 16:33
    
    

You seemed to have did the right thing. Just give it a while for DNS to propagate properly, usually takes up to 24-48 hours.

What do you get when you do dig webmail.domain.dom MX

share|improve this answer
    
I'm not sure why someone -1 you. Hmm , let me check, i'm using leafDNS is that the rright tool? –  User1291223 Jan 17 '13 at 15:45
    
The parent nameservers do not have your nameservers listed –  User1291223 Jan 17 '13 at 15:47
    
@RainbowHat The -1 was probably because DNS propagation is not a real phenomenon and we Sysadmins should know better. There's no need to wait for anything if you query the authoritative nameservers directly. –  Ladadadada Jan 17 '13 at 15:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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