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!

cl59ks4gwj9cc0at8xwykv6al

Step 2:

Click on 'Manage DNS'.

cl59mio8dj7tg0buq0p0z7z9y

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.

cl59offwqmuid0at8uxmqsieg

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.

cl59offw9muhy0at8rl594hw8

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.

cl59offw7lyyn0errmni8nt4a

Last step:

Visit your custom domain and enjoy it!