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'm wondering if I set up my Amazon Route 53 records correctly to run on my Amazon EC2 instance which has an elastic IP, django webapp running on nginx and gunicorn:

It is my first time so I would love to hear if this setup is correct (especially is A record ok for www.mysite.com as my mysite.com)

Here it is:

My amazon Route 53 screenshot

It currently works, both www.mysite.com and mysite.com points to my nginx 'welcome to nginx' blank page.

I will be grateful for any feedback if this is set up correct (especially TTL and www. type).

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Using A records for both is fine (you can't use a CNAME for mysite.com anyway). You could increase the TTL though (to 1h or 1d) -- it doesn't need to be low since it's pointing at an elastic IP, and the elastic IP allows you to change the target. The only reason to keep the TTL low is if you might need to point the domain at another EC2 region or a non-EC2 server.

share|improve this answer
add comment

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.