In the first series of blog post we have seen how to create a pelican blog, customize a little and also host it from Github pages. We can also use Github pages as a hosting service and link any of the domain name providers with this hosting. In this post I have taken the example of GoDaddy, but the process should not much different for any other domain name provider.

The process to link a Godaddy Domain to Github Pages can be divided into 2 Steps.

  1. Configure your Github repository
  2. Configure the DNS at GoDaddy

Configure Github Repository

We have already made a Github Pages website in our previous post, kindly follow the steps mentioned here.

Once we have a Github Pages URL, we have to configure a CNAME in this repository, this can be done in 2 ways.

  1. Local Repository
  2. Directly on Github.

Local Repository

  1. Create a local file in the repository with the name CNAME.
  2. Just have one line in the file. example.com, where example.com is your domain you have bought from GoDaddy.
  3. Push the changes to Github

Directly on Github Pages.

On the repository in Github, you will see something like this.

GitHub Settings

In the above Click on the Settings, Scroll down you will see something like this.

GitHub Pages Settings

Enter the domain you have purchased from GoDaddy.

These are the only changes required to be done in GitHub.

Configure the DNS at GoDaddy

The easiest of the all the below references is Configuring a Godaddy domain name with github pages.

The real issue in all the links is that it shows the old UI of GoDaddy, so some things get confusing.

  1. Go to the account setting page, which mostly will like in this link.
  2. The link will look like this.
  3. Godaddy Accounts Settings
  4. Click on the + Symbols in Front of Domain, and Click on the Manage DNS Link
  5. Godaddy DNS Management
  6. The link will show a lot of Records, go to the end of the Records, and click on the link ADD
  7. Godaddy Add Options
  8. From the above option we have to add 3 entries.
  9. This is how all the 3 would look like after adding.

Godaddy A Options Godaddy www Options

Now you can launch and check your desired domain. Kindly wait 48 hrs for these changes to reflect, do not try to configure multiple times, if it does not work even after 48 hours kindly search for help, till then take a coffee break and have a nice time out of this screen.

The domain XYX is no longer parked by Godaddy

When we are doing the above process, even after 24 hours, when you launch your website, we find one of these errors.

  1. The domain XYX is no longer parked by Godaddy
  2. It is detected as a Malware in the office network.

The website might launch for some times and sometimes you might get any one of the above 2 errors. Kindly check this in the Manage DNS page.

  • We had added two A Names pointing to the GitHub URL as shown below. Godaddy A Options

Check if you have any other A Names in addition to the above two, if you have, kindly delete that. The detailed issue can be read GoDaddy domain (randomly) not resolving to GitHub Pages

References

  1. Setting Up a GoDaddy Domain Name With GitHub
  2. Configuring a Godaddy domain name with github pages
  3. Using a custom domain with GitHub Pages
  4. Using GitHub Pages To Host Your Website
  5. GoDaddy domain (randomly) not resolving to GitHub Pages
  6. [Help]: How to correctly connect my github pages blog to a custom domain?
  7. Redirecting GitHub Page to a custom domain
    1. Kindly read the above site, to understand what is the use of CNAME and A Record. Great introduction.

Spread the word.... TwitterFacebookEmail


Related Posts


Published

Last Updated

Category

Pelican

Tags

Stay in Touch

Email Newsletter