Create a warehouse
Slightly. See the GitHub tutorial for more details.
Warehouse Property settings
Find the GitHub pages item. Click Auto-Generate, follow the prompts, and you will get the Gh-pages branch of the project.
The publishing site was successful with the address http://chuchus9293.github.io/web2 .
The index.html page in the directory is the default page for the site.
Publishing success
Of course, you can make your own HTML website, upload code via GitHub client is very convenient. index.html is still the default page.
Domain binding to GitHub Page
Add a CNAME file under the root of the repository , no suffix, the content is your domain name ( For example : ccsyi.cn), do not need to add prefixes such as http://www.
Get the GitHub pages server IP.
In the peanut Shell domain name Resolution service, select www to create A record. synchronized to DNS servers around the world within the next few hours .
Github pages static web site Building