Skip to content

Instantly share code, notes, and snippets.

@yancyn
Last active January 27, 2026 22:32
Show Gist options
  • Select an option

  • Save yancyn/18b07b7ec600812b15f8 to your computer and use it in GitHub Desktop.

Select an option

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

andreamoro-git commented Jan 7, 2018

Copy link
Copy Markdown

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

@mfduar8766

Copy link
Copy Markdown

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

@fanjin-z

Copy link
Copy Markdown

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

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

@Ronnehag

Ronnehag commented Jan 6, 2019

Copy link
Copy Markdown

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

@ScottON

ScottON commented May 1, 2021

Copy link
Copy Markdown

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