Gh Pages Cheat Sheet

From WikiOD

Here is the cheatsheat of Gh Pages and basic guide on how to use Gh Pages

Custom domains[edit | edit source]

Custom domains[edit | edit source]

$ echo "foobar.com" > CNAME
$ git commit && git push

Create a CNAME file with your domain on it.

See: Setting up a custom domain (github.com)

Set up your domain[edit | edit source]

Subdomain (like www): {: .-setup}

 CNAME => username.github.io

Apex domains: {: .-setup}

 ALIAS => username.github.io

Apex domains (alternative): {: .-setup}

A => 192.30.252.153
A => 192.30.252.154

References[edit | edit source]

{: .-one-column}

Credit:rstacruz