Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 purchased Amazon EC2 instance and installed Ubuntu Server on it.

I have domain name , the current nameserver of my domain is : , .

I want to point to the Instance and make nameservers like and I have an Elastic IP associated with the instance.

share|improve this question
To point your domain at the instance, create an A record pointing to your elastic IP address. For the name servers, firstly - some registrars require that name servers map to at least 2 different IP addresses - which is not possible with one instance. If that isn't an issue, then you will need to setup a DNS server (e.g. Bind - named; tinydns, etc). Unless you have a good reason for doing so, stick with your existing name servers - they are likely geographically distributed, will offer better performance, and don't need you to maintain them. – cyberx86 Jan 28 '12 at 9:36
up vote 1 down vote accepted

I'd use route 53, cheap and easy to setup dns inside of amazon aws.

share|improve this answer

First you need at least one DNS server, but preferably two that hold a copy of your zone. Then you need to call your registrar and do two things:

1) Make them authoritative for your zone

2) Register a glue record for the new servers

share|improve this answer

You have to install bind or some other nameserver daemon and configure it to be your primary or secondary nameserver.

Then you have to ask your dns registrar to let you use your own server as a primary/secondary nameserver and to modify the registration database. Or you can do this yourself based on what interface your registrar provides to you.

But to maintain geographical redundancy of your name server you should use your registrars nameserver as primary/secondary or purchase another EC2 instance in another region.

share|improve this answer

Your Answer


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.