Last active
March 13, 2016 12:34
-
-
Save dineshsprabu/a09b1c8bc2a4646e49db to your computer and use it in GitHub Desktop.
[GITHUB-PAGES] Adding custom domain name to github pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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