Skip to content

Instantly share code, notes, and snippets.

@chand
Last active August 26, 2017 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chand/e44f4af2167be1403aae195e0d7297dc to your computer and use it in GitHub Desktop.
Save chand/e44f4af2167be1403aae195e0d7297dc to your computer and use it in GitHub Desktop.
Add Go Daddy Custom Domain to a Github website

Add Go Daddy Custom Domain to a Github website

In GoDaddy

  1. Go to "Manage my Domains"
  2. Next to your domain, click on the Settings Sprocket Drop down and select "Manage DNS"
  3. At the bottom of the "Records" Section, click "ADD" Type: A Host: @ Points to: 192.30.252.153
  • Leave TTL as is
  1. Click "ADD" again to add another record: Type: A Host: @ Points to: 192.30.252.154
  • Leave TTL as is

NOTE: Make sure these are the only 2 A Records - if there are others, delete them.

In your local directory

  1. Add new file, type in: domainname.com (no "www" or anything else)
  2. Save file as: "CNAME" (no extension) in the main site directory
  3. Push file and merge with master

To check if the custom domain has propagated, in command line

$ dig domain.com +nostats +nocomments +nocmd

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment