Friday, May 12, 2017

Buy Your Mother a Domain for a Mother's Day (GoDaddy Domain for GitHub Pages)

Mother's Day is coming. Flowers and chocolate are nice and all. But if you want to surprise your mother with something less traditional, you can register her a domain and add Github Page as a gift.

I have registered simecek.xyz domain a long time ago. Yesterday I discovered it is really easy to connect it to Github Page or blog.

  1. GitHub:

    In a repository with your Github Pages, create a file CNAME and write your domain address in it (e.g. "simecek.xyz")

  2. GoDaddy:

    Find DNS setting for your domain. GoDaddy is changing web interface all the time but it should look something like this

    DNS Settings for your domain
    You need to change two values: "A" should be 192.30.252.153 and CNAME www should be your Github Page's URL (e.g. GITHUB_USER_NAME.github.io).
And that is all. Wait a few minutes until the change propagates through the internet and test it.


No comments:

Post a Comment