Learn

Domain names are associated with the correct DNS records by setting the domain name’s name servers.

After a domain name is typed into a browser, the computer first retrieves the name servers that correspond to that domain name. The name servers are important because they’re responsible with providing the computer with other important information (in the form of DNS records) associated with the domain name.

Setting your domain’s name servers is important. The DNS is a global system, which means that anyone can create DNS records. We must verify that the DNS records we create were actually created by the owner of the domain name (in this case, you).

By doing this, the owner of a domain name ensures that only they have exclusive control over their domain’s DNS records.

Instructions

  1. Notice that the Hosted Zone for your domain name already has an NS (Name server) record. This record contains four values. These are the Hosted Zone’s unique name servers. Take note of these values and copy them down somewhere.

  2. On the left hand side, under “Domains,” click on “Registered domains.” Then, click on your domain name.

  3. On the right hand side of the page, locate the section titled “Name Servers.” Notice that these are the same name servers that your Hosted Zone’s NS record contained. Route 53 did this for you automatically.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?