Setting up a domain name to your gh-pages site

Nov 24, 16 - 21:12pm, 1 year and 6 months ago

Step 1. Create a Github Pages repository.

Create a new repository with the name mygithubusername.github.io where mygithubusername is your actual Github username.

Step 2. Create some content for the site.

Slap a index.html file in the repository.

Step 3. Go to freenom.com to register a free domain name.

Step 4. Setting up the DNS to your website.

You should have something that looks like this:

Step 4. Make Github use that domain.

Check this repo for an example: https://github.com/twentytwoo/startpages.cf

And you’re done!
Hopefully that should work :)


Submit a comment
?