Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 just installed an instance with Ubuntu 10.10 x32, micro (free tier), LAMP. It works!
  • I have an elastic ip for my instance, assume: a.b.c.d (also works)
  • I can see my Public DNS: (also works)
  • and my Private DNS and a Private IP
  • I can ssh into my instance
  • I bought a domain, I'm in the Control Panel, please see this picture:
  • Here are the option in the control panel: Host Name - IP Address/URL - Record Type (URL Redirect, URL Frame, A, CNAME, TXT Record, URL Redirect 301, AAAA IPv6, NS Record, SRV Record) - MX PREF - TTL

I'm lost, what should I do now?


  • Type my and display the data on /var/www/page.php on my amazon ec2 instance
share|improve this question
up vote 2 down vote accepted

You'll need to add an A record in your domain registrar's DNS control panel and point it to the elastic IP address you purchased from Amazon.

That'll get the domain to the server. Note, there will be some propagation involved as with any DNS change, so you may not see your results right away.

The @ stands for your domain, ie

Set both the @ and the www IP address fields to your elastic IP.

share|improve this answer
Thanks! That worked (: – cnandreu Mar 27 '11 at 1:20
If I have NS records pointing to some old hosting site, do I have to clear them or change them to the elastic IP? – gideon Dec 11 '12 at 9:19

Alternatively you can try Amazon's Route53 which will allow you to set a CNAME for your domain and the result will be pretty much instant. There is though a charge for each domain that you use in Route53. (but you can have as many CNAMEs as you like for your subdomains)

You will also need to let your registrar know what are the nameservers that are used by the Route53 service.

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.