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 registered a domain with It's a Brazilian domain, and they do things differently.

Usually, I would register a domain and the registrar would provide me with a panel to configure options for my domain. doesn't do this. You simply point your domain to the DNS details from your host.

That's fine. Only now I'm trying to host my own site on Amazon EC2. I have no host that can give me access to CNAME records and such. I have an instance and an elastic IP.

How can I create sub-domains and CNAME records in this case?

My intention is to have point to and point to

share|improve this question
Its unclear, but are you trying to ask how to setup a DNS server? What do you mean 'domain without DNS' thats pretty much a contradiction in terms. – polynomial Sep 17 '11 at 20:08
up vote 6 down vote accepted

If I'm reading you right then you need to purchase a DNS service from someone. Point the NS records at to the name servers for your DNS service then use that to set up the A and CNAME records that point to your EC2 instance.

share|improve this answer
It seems that you need to run your own DNS servers, and you need static IPs for that. If "elastic IP" means "non-static IP", then you can't do that for yourself, and as Iain says, you'll need to rent it off someone. – MadHatter Sep 17 '11 at 20:13
Elastic IPs are static. – Iain Sep 17 '11 at 20:16
It took a few minutes, but lain is right. A few years back, most registers usually just setup NS records - you have to have a different provider to host DNS. Looks like in this case, this is what the poster needs to do. – Rilindo Sep 17 '11 at 20:21
Thanks, Iain; it wasn't a term I'd come across before. Then the OP can run his own DNS server if he wants to, but as you said, he must either run it or rent it since the registrar isn't providing it. – MadHatter Sep 18 '11 at 13:38
@MadHatter: EC2 Elastic IP Address: Internet routable IP address allocated to an AWS EC2 account. Unlike a standard EC2 Public IP Address, Elastic IP Addresses are allocated to accounts and can be remapped to other instances when desired. – Iain Sep 18 '11 at 20:06

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.