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 |
|
{% data reusables.gated-features.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.
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 %}
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 %}
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 %}
- {% data variables.product.prodname_pages %} on {% data variables.product.prodname_learning %}
- AUTOTITLE
- AUTOTITLE {% ifversion fpt or ghec %} * AUTOTITLE {% endif %}