Setting up a domain name to your gh-pages site

Thu. Nov 24, 09:12PM, 10 months and 5 days ago

Step 1. Create a Github Pages repository.

Create a new repository with the name 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 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:

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


Submit a comment