Skip to content

Latest commit

 

History

History
100 lines (84 loc) · 4.57 KB

what-is-github-pages.md

File metadata and controls

100 lines (84 loc) · 4.57 KB
title intro allowTitleToDifferFromFilename redirect_from product versions topics
What is {% data variables.product.prodname_pages %}?
You can use {% data variables.product.prodname_pages %} to host a website about yourself, your organization, or your project directly from a repository on {% data variables.product.prodname_dotcom %}.
true
/articles/what-is-github-pages
/articles/user-organization-and-project-pages
/articles/using-a-static-site-generator-other-than-jekyll
/articles/mime-types-on-github-pages
/articles/should-i-rename-usernamegithubcom-repositories-to-usernamegithubio
/articles/about-github-pages
/github/working-with-github-pages/about-github-pages
/early-access/github/articles/managing-your-disabled-github-pages-site
/pages/getting-started-with-github-pages/about-github-pages
{% data reusables.gated-features.pages %}
fpt ghes ghec
*
*
*
Pages

About {% data variables.product.prodname_pages %}

{% data variables.product.prodname_pages %} is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on {% data variables.product.github %}, optionally runs the files through a build process, and publishes a website. You can see examples of {% data variables.product.prodname_pages %} sites in the {% data variables.product.prodname_pages %} examples collection.

Types of {% data variables.product.prodname_pages %} sites

There are two types of {% data variables.product.prodname_pages %} sites. Sites associated with a user or organization account, and sites for a specific project.

{% ifversion fpt or ghec %} {% else %} {% endif %}
Property User and organization sites Project sites
Source files Must be stored in a repository named <owner>.github.io, where <owner> is the personal or organization account name Stored in a folder within the repository that contains the project's code
Limits Maximum of one pages site per account Maximum of one pages site per repository
Default site location http(s)://<owner>.github.io http(s)://<owner>.github.io/<repositoryname>
Default site location with subdomain isolation enabled http(s)://pages.<hostname>/<owner> http(s)://pages.<hostname>/<owner>/<repository>/
Default site location with subdomain isolation disabled http(s)://<hostname>/pages/<username> http(s)://<hostname>/pages/<owner>/<repository>/

{% ifversion ghec %} If you publish your site privately, the URL for your site will be different. For more information, see AUTOTITLE. {% endif %}

{% ifversion ghes %} For more information, see AUTOTITLE or contact your site administrator. {% endif %}

{% ifversion fpt or ghec %}

Hosting on your own custom domain

You can host your site on {% data variables.product.prodname_dotcom %}'s github.io domain or your own custom domain. See AUTOTITLE.

{% endif %}

{% ifversion fpt %}

Data collection

When a {% data variables.product.prodname_pages %} site is visited, the visitor's IP address is logged and stored for security purposes, regardless of whether the visitor has signed into {% data variables.product.prodname_dotcom %} or not. For more information about {% data variables.product.prodname_dotcom %}'s security practices, see {% data variables.product.prodname_dotcom %} Privacy Statement. {% endif %}

Further reading