Skip to content

Instantly share code, notes, and snippets.

@yancyn
Last active March 7, 2024 16:04
Show Gist options
  • Save yancyn/18b07b7ec600812b15f8 to your computer and use it in GitHub Desktop.
Save yancyn/18b07b7ec600812b15f8 to your computer and use it in GitHub Desktop.
Setup Godaddy Domain for GitHub Page

Setup Godaddy Domain for GitHub Page

  1. Create a new file CNAME and put the domain.com in the file.
  2. Login GoDaddy > Manage domain > DNS Zone File.
  3. Under A (Host) change @ point to 192.30.252.153.
  4. Under CName (Alias) change www point to website.github.io.

see also GitHub Pages + GoDaddy

@andreamoro-git
Copy link

andreamoro-git commented Jan 7, 2018

hi, what if I don't want the www in [www.mydomain.com] ? Can I just skip the cname?

@mfduar8766
Copy link

Thi didnt work for me. Godaddy wont accept the CNAME saying theres an error

@fanjin-z
Copy link

Thi didnt work for me. Godaddy wont accept the CNAME saying theres an error

Just use A type: A www [host ip] TTL

@Ronnehag
Copy link

Ronnehag commented Jan 6, 2019

What if I want to use a differnt CNAME for my page? Example myname.github.io/thisProject/ ?

@ScottON
Copy link

ScottON commented May 1, 2021

Thi didnt work for me. Godaddy wont accept the CNAME saying theres an error

You've probably sorted this by now...

But, I think it might help others in the future.

By default, Godaddy already has CNAME for WWW in your DNS zone -- delete that entry and try again.

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