Home · Blog · About

Basic custom domain hosting with GitHub Pages

GitHub Pages are hosted free and easily published through GitHub or from the command line. Manage your site’s content from GitHub using the tools and workflow that you’re familiar with, so you won’t skip a beat. More about publishing with GitHub Pages.

[Update] This post is outdated. For the latest instructions, see the official GitHub guide.

A third-party content editor is Development Seed’s wonderful Prose.

GitHub setup

After creating your GitHub repository, you need to create a file named CNAME in your root directory and fill its contents with your domain.

Domain setup

  1. Create an A record with the 204.232.175.78 address as value.
  2. Create an CNAME record with www as name and example.github.com as value.