Skip to main content

This version of GitHub Enterprise Server was discontinued on 2025-04-03. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

What is GitHub Pages?

You can use GitHub Pages to host a website about yourself, your organization, or your project directly from a repository on GitHub.

Who can use this feature?

GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server.

About GitHub Pages

GitHub Pages is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub, optionally runs the files through a build process, and publishes a website. You can see examples of GitHub Pages sites in the GitHub Pages examples collection.

Types of GitHub Pages sites

There are two types of GitHub Pages sites. Sites associated with a user or organization account, and sites for a specific project.

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 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>/

For more information, see Enabling subdomain isolation or contact your site administrator.

Further reading