GitHub Pages + GoDaddy

Setting the DNS for GitHub Pages on GoDaddy

GitHub Pages is an incredibly simple, user-friendly solution for hosting a simple personal website.

For a personal page your default address will be: username.github.io, but in a few simple steps you can quickly setup a custom domain for your page. GitHub provides this fairly detailed documentation and there’s a great tutorial for Namecheap, but I wanted to share the quick and dirty steps to setup your custom domain if you’ve registered your domain name through GoDaddy.

  1. Create a new file named “CNAME” in the root of your page directory.
  2. Put the domain in your file, e.g. julialovett.com
  3. Commit & push your changes.
  4. Login to your GoDaddy Account.
  5. Go to “Manage Your Domains”.
Manage Your Domains Page

6. Under the “DNS” tab, click “DNS Manager”.

Standard DNS Dashboard

7. Click “Edit Zone”

8. Under the “A” Section update IP address to: 192.30.252.153

9. Under the “CNAME (alias)” Section edit the “points to” for www to: username.github.io

10. Save changes and patiently wait for your DNS settings to update.

Huzzah!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.