Execution Time: about 15 minutes
Goal: Assign your domain to your AWS Hosting account.
Ideal Outcome: Your domain name points to your AWS account.
Prerequisites: You need to have your own domain name (Tutorial 5) and AWS Server.
Why this is important: So your domain name redirects to the server hosting your website.
Where this is done: On godaddy.com and in Amazon Web Services Admin Console.
When this is done: Ideally as soon you put your website online, only once.
Who does this: Owner of the website or the person in charge of managing it.

Let’s get started, in 15-min you will be able to access your website not using its IP address but with its unique domain name.

Environment setup:

  • We recommend that you use Google Chrome browser to navigate the web.
  • Access to your Amazon Web Services Admin Panel,
  • Access to your GoDaddy account.

How To Assign My Domain To AWS Account Using GoDaddy?

Creating a Hosted Zone for your AWS server

  • Sign in to your account.

  • Now you are on the “AWS Management Console”.

  • Click on “Route 53” under “Networking & Content Delivery” section.

  • Click on “Get started now” under “DNS management”.

  • Then choose “Create Hosted Zone”.

  • Click on “Create Hosted Zone” in the new window that appeared.

  • Start off with typing in your “Domain Name”.

You can add a “Comment” if you want to

  • Set “Type” to “Public Hosted Zone”.

  • Then click on “Create”.

  • You will be presented with a list of “Record sets” you have just created. Click on “Create Record Set” as you have to create one more record.

  • Put “www” in the “Name” box(1), set “Type” to “A – IPv4 address”(2). Set “TTL”(3) to “300”. In the next step, we will show you where you will find your IP address to put into the “Value” box(4).

Leave that tab open till the end of the proceedings

Getting your IP address from AWS

  • Open another tab in your web browser.
  • Go to Amazon Web Services.
  • Click on “Sign in to the Console”.

  • You should be automatically logged in to your account since it is opened in another tab.
  • Click on “EC2” under “Compute” section.

  • Then choose “Instances” under “Instances” section.

  • At the bottom of the page in the “Description” tab, you will find your “IPv4 Public IP”. Copy it.

  • Go back to the other tab of your web browser where you are adding a record and paste your IP address into the “Value” box.

  • When you fill all the required boxes…

  • …Click on “Create”.

  • You have successfully added an “A” type record.

  • And there are your “Nameservers” (you can determine that by “NS” Type). Write them down as you will have to put those “Nameservers” in your GoDaddy DNS settings.

Changing GoDaddy nameservers

  • Go to GoDaddy.com and log in to your account.
  • Click on “Sign In”.

  • Enter your account data and press on “Sign In” or choose to sign in with “Google” if you used it to create an account on GoDaddy.com.

  • After you sign in you should see the domain that you bought. Click on “DNS” to access DNS settings.

  • Now you should see the “Nameservers” page. Click on “Change”.

  • Then “Enter my own nameservers (advanced)”.

  • Choose “I’ll use my own nameservers”.

  • Now you should see two boxes called “Nameserver 1” and “Nameserver 2”.

  • Now you need to enter “Nameservers”, you write down from your “Hosted Zone” of AWS Account. Simply put first of them in the “Nameserver 1” box and the second one in the “Nameserver 2” box.
  • If there is no box for the rest of “Nameservers” click on “Add Nameserver” and it will add another box.

  • Click on “Save” after you add all “Nameservers”.

  • Reload the page.
  • Now try to go to your domain by typing it on the internet browser.

You’re all set now and your audience can finally access your website using its own unique domain name. This is a major step in building your online brand.

Do you know?

In order to have better SEO ranking, not only need to a good web hosting, it is just one of the factor within many. Find out more about my 100+ SEO CHECKLIST, download a copy of this most comprehensive SEO CHECKLIST here :

SEO Checklist