Skip to content

Instantly share code, notes, and snippets.

@dineshsprabu
Last active March 13, 2016 12:34
Show Gist options
  • Save dineshsprabu/a09b1c8bc2a4646e49db to your computer and use it in GitHub Desktop.
Save dineshsprabu/a09b1c8bc2a4646e49db to your computer and use it in GitHub Desktop.
[GITHUB-PAGES] Adding custom domain name to github pages
1. Create a file CNAME on the gh-pages Branch.
2. Type your domain name and save the CNAME file. eg. dppages.com
3. Goto you domain settings on domain registered site (godaddy, bigrock, etc.,).
4. Add the IPs below on the 'A' record.
192.30.252.153
192.30.252.154
Note: The above IPs are the github pages's DNS Server IPs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment