Stake your claim

Buying a domain name is like putting a stake in the ground. I feel like some sort of Lewis and Clark, or maybe even Neil Armstrong — except instead of an unknown land or galaxy far far away it's a DNS server somewhere in the middle of Ohio.

In this article I will show you how to purchase your domain name from GoDaddy and use it for your next project on Amazon Web Services, whether or not you actually ever get around to building it is up to you!


Prerequisites and Scope

This article assumes that you have a website already setup with AWS CloudFront. We will walk through step by step how to add a custom GoDaddy domain and SSL certificate to your CloudFront hosted site.

Purchasing your domain name

Head over to and enter a search term for the domain you are interested in, then choose one that looks good! I chose for my project, and got away with it for just $0.99 for the first year — I'll let Amazon pay $19.99 for the second year after they acquire me!


GoDaddy will give you some additional options about adding security features or getting help starting your website; choose what's best for you then enter your payment information and finish checking out.

If you have already deployed your static site via CloudFront and want a quick and easy way to get started you can setup a forwarding rule. Head over to manage DNS in GoDaddy and scroll down to the forwarding section and put in your CloudFront URL.


After a few minutes everyone who navigates to will be redirected to my CloudFront distribution at If you're satisfied, then you're done! If you would like to setup your domain name without having to deal with forwarding then read on; we are going to cover this next. If you do plan on moving forward you can go ahead and delete the forwarding rule we just created.

Setting up your GoDaddy domain name with AWS

There is a great AWS document on adding a custom domain managed by GoDaddy which I highly recommend following. I'll summarize the important steps below.

  1. Go to the domain in your GoDaddy account and select "Manage my domain"


  1. Scroll down to Additional Settings and select "Manage DNS"


  1. Click "Add" then "CNAME" and enter "www" as your Host value and your CloudFront domain as the value for "Points to". If there is already a "www" value, then you can edit the "Points to" value — creating a new one could give you an error message.
Powered by Fruition