There are two basic types of GitHub Enterprise Pages: User/Organization Pages and Project Pages. They are nearly identical, but there are a few important differences between them.
Both types of Pages are served over HTTP, not HTTPS. You shouldn't use them for sensitive transactions, like sending passwords or credit card numbers.
User & Organization Pages
User & Organization Pages live in a special repository dedicated to GitHub Enterprise Pages files. You will need to name this repository with the account name, e.g.
- You must use the
username.[hostname]
naming scheme. - Content from the
master
branch will be used to build and publish your GitHub Enterprise Pages site.
You can only use your own account name for a User or Organization Page repository. A repository like joe/bob.github.io
will not build a User Pages site.
When User Pages are built, they are available at https://[hostname]/pages/<username>
.
Project Pages
Unlike User and Organization Pages, Project Pages are kept in the same repository as their project. Both personal accounts and organizations can create Project Pages. The URL for a personal account's Project Page will be http(s)://[hostname]/pages/<username>/<projectname>/
, while an organization's URL will be http(s)://[hostname]/pages/<orgname>/<projectname>
. The steps for creating Project Pages are the same for both.
Project Pages are similar to User and Organization Pages, with a few slight differences:
- The
gh-pages
branch is used to build and publish Project Pages sites.