Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3209
  • Last Modified:

setup mx records pointing from godaddy to amazon ec2 instance

I have an amazon ec2 instance using sles11 . I have setup route53 for my domain . I also have updated dns records on godaddy to point to my server hosted in amazon. Although i have mail plan with godaddy  i want to forward mails to my instance.So i have to add mx records to my configured zone in route53.Now this zone has only an A record for my domain. my question is :
1) do i have to setup a new mail server instance in amazon and create a new zone with mx records?if so i have to add mx records in my already configured instance pointing to the new mailserver ?
2)do i have to setup mail server in my already configured instance (that acts like a web server) ?
3)is there any other way to achieve that ?

Thank you !
0
stathisx
Asked:
stathisx
  • 3
2 Solutions
 
BudDurlandCommented:
It sounds like you have two DNS servers for your domain -- Route53 and Godaddy.  Which one is the *authoritative* DNS server for your domain?  I suppose it's possible that they both are, but I suspect not.  A visit to www.dnsstuff.com or www.dnstools.com will answer that question.

Once that's resolved, you can create MX records.  Remember, MX records can only point to host names (mail.example.com), and there needs to be an 'A' record somewhere for the host.  You can have several MX records pointing to different servers, but generally speaking the servers won't forward mail back and forth unless configured to.
0
 
stathisxAuthor Commented:
hello again ,
my dns configuration is from amazon side and my dns servers are those of amazon.The solution to the problem was to add 2 mx records of godaddy mail servers to my route53 xml configuration file for my zone . so my xml zone configuration file has 1 A record for my domain and 2 mx records pointing to godaddys mail servers.

Thank you
0
 
stathisxAuthor Commented:
Thank you
0
 
stathisxAuthor Commented:
Just keep in mind to validate xml code and add the mx records in the correct format (using route 53 guide)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now