Blog.

How to config GoDaddy's domain on Github Pages properly

Cover Image for How to config GoDaddy's domain on Github Pages properly
Dario Chiapperini
Dario Chiapperini

How to config GoDaddy's domain on Github Pages properly

By default when you upload a repository and host using Github Pages, the URL who GitHub displays is, in the majority of cases, pretty ugly.

Today in this post i'll show you how to connect new GoDaddy custom domain to Github Pages in few simple steps. Are you ready? Let's start!

Step 1:

Go to godaddy.com, register, and buy new custom domain. Once you've done it, go to the dashboard page in your account and click on domain's tab. Now you'll be able to see the domain you've purchased!

/assets/blog/how-to-config-godaddy's-domain-on-github-pages-pro/post1.png

Step 2:

Click on 'Manage DNS'.

/assets/blog/how-to-config-godaddy's-domain-on-github-pages-pro/post2.png

Step 3:

Add the same records as the image down below. The only thing you must change is 'your-repo-name.github.io' with the name of your repo without any subdirectories.

/assets/blog/how-to-config-godaddy's-domain-on-github-pages-pro/post3.png

Step 4:

Now, leave this page and go to your github account. In your repo's main page, go to "settings", click on "Pages" tab.

/assets/blog/how-to-config-godaddy's-domain-on-github-pages-pro/post4.png

Step 5:

Finally type the name of your custom godaddy's domain into "Custom domain" field and click "Save". Under this field click on verify button and you've done it.

If you want a layer of encryption check "Enforce HTTPS" or buy a SSL certificate on godaddy.com.

/assets/blog/how-to-config-godaddy's-domain-on-github-pages-pro/post5.png

Last step:

Visit your custom domain and enjoy it!