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 have 3 instances running on amazon ec2

instance 1 should be called myname.com, instance 2 and 3 should be called node1.myname.com and node2.myname.com respectively. How can this be achieved ? (can this be achieved ?)

share|improve this question
    
If you accepted the answer, you should be upvoting it too. –  Siddharth Mar 14 '13 at 0:43

1 Answer 1

up vote 0 down vote accepted

Well, Route 53 is a option but is nothing like a easy solution. Amazon DNS is painful. You will need to write a script to dynamically update the dns to match what you want.

There is a whole bunch of other DNS services like zerigo ou dyndns that accept either REST calls to change the DNS or have a tool to automatically update the DNS.

Painful, but the only way. Another solution is to use Elastic IP's, but they are limited to 5 per region.

If you have a Elastic IP you can even request to have amazon resolve their reverse DNS for that IP. It is especially useful when you need to have a mail server.

share|improve this answer
    
Did you figure this out? –  rafamvc Dec 29 '10 at 3:47

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.