Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find my Nameservers on amazon ec2 server?

I recently got an Amazon EC2 micro server to learn how to use nodejs. (I am not servers savvy BTW).

I managed to install everything and having nodejs running on the server and running their example script.

on Amazon I set the server security group to allow all / icmap - all/ tcp - 0-65535/ ssh/HTTP/HTTPS so basically everything is allowed more or less.

My question is how can I find my nameserver so I can use them on a new domain that I've bought.

I might be completely wrong and missing many steps if so. Do you know of a good tutorial on how to do that?

Thanks and sorry for the general question.

like image 485
Neta Meta Avatar asked Feb 13 '14 19:02

Neta Meta


People also ask

How do I find my AWS nameservers?

Sign in to the AWS Management Console and open the Route 53 console at https://console.aws.amazon.com/route53/ . In the navigation pane, click Hosted zones. On the Hosted zones page, choose the radio button (not the name) for the hosted zone, then choose View details.

How do I find my EC2 instance DNS name?

To view DNS hostnames for an instance using the consoleOpen the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . In the navigation pane, choose Instances. Select your instance from the list. In the details pane, the Public DNS (IPv4) and Private DNS fields display the DNS hostnames, if applicable.

What is EC2 DNS name?

A typical Amazon EC2 public DNS name looks something like this: ec2-12-34-56-78.us-west-2.compute.amazonaws.com , where the name consists of the Amazon Web Services domain, the service (in this case, compute ), the region, and a form of the public IP address.


2 Answers

I believe what you want to do is point your domain to your new server.

You can do a couple of things in your domain registrar (where you bought your domain)

  1. Add an A PTR record on your domain to point to the IP address of the server.
  2. Add a CNAME record to point to the EC2 DNS name of your instance.

You can find the IP address and EC2 DNS name of your instance on the EC2 console:

DNS Names and IP Address

like image 51
Rico Avatar answered Oct 16 '22 10:10

Rico


You need to setup your domain name on Amazon's Route 53 DNS service in order to use their nameservers. Check out the link on how to retrieve the nameservers: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/GetInfoAboutHostedZone.html

like image 1
OK11 Avatar answered Oct 16 '22 09:10

OK11