# GitHub Pages란?

GitHub Pages을(를) 사용하여 사용자, 조직 또는 프로젝트에 대한 웹 사이트를 GitHub의 리포지토리에서 직접 호스트할 수 있습니다.

## GitHub Pages에 대한 정보

GitHub Pages는 GitHub의 리포지토리에서 HTML, CSS 및 JavaScript 파일을 직접 가져와서 필요에 따라 빌드 프로세스를 통해 파일을 실행하고 웹 사이트를 게시하는 정적 사이트 호스팅 서비스입니다. GitHub Pages 사이트의 예는 [GitHub Pages 예시 컬렉션](https://github.com/collections/github-pages-examples)에서 확인할 수 있습니다.

## GitHub Pages 사이트 유형

GitHub Pages 사이트에는 두 가지 유형이 있습니다. 사용자 또는 조직 계정과 연결된 사이트 및 특정 프로젝트를 위한 사이트입니다.

<table>
<thead>
<tr>
<th>속성</th>
<th>사용자 및 조직 사이트</th>
<th>프로젝트 사이트</th>
</tr>
</thead>
<tbody>
<tr>
<th>소스 파일</th>
<td>
<code>&lt;owner&gt;.github.io</code>라는 리포지토리에 저장해야 하며, <code>&lt;owner&gt;</code>는 개인 또는 조직 계정 이름</td>
<td>프로젝트 코드가 포함된 리포지토리 내의 폴더에 저장</td>
</tr>
<tr>
<th>제한</th>
<td>계정당 최대 1개의 페이지 사이트</td>
<td>리포지토리당 최대 1개의 페이지 사이트</td>
</tr>

<tr>
<th>기본 사이트 위치</th>
<td><code>http(s)://&lt;owner&gt;.github.io</code></td>
<td><code>http(s)://&lt;owner&gt;.github.io/&lt;repositoryname&gt;</code></td>
</tr>

</tbody>
</table>

### 사용자 고유의 사용자 지정 도메인에서 호스팅

GitHub의 `github.io` 도메인 또는 사용자 지정 도메인에서 사이트를 호스트할 수 있습니다.
[GitHub Pages 사이트에 대한 사용자 지정 도메인 구성](/ko/pages/configuring-a-custom-domain-for-your-github-pages-site)을(를) 참조하세요.

## 데이터 수집

GitHub Pages 사이트를 방문하면 방문자가 GitHub에 로그인했는지 여부에 관계없이 보안 목적으로 방문자의 IP 주소가 기록되고 저장됩니다. GitHub의 보안 사례에 대한 자세한 내용은 [GitHub 개인정보처리방침](/ko/site-policy/privacy-policies/github-privacy-statement)을 참조하세요.

## 추가 참고 자료

* [GitHub Pages](https://github.com/skills/github-pages) - GitHub Skills에서
* [리포지토리에 대한 REST API 엔드포인트](/ko/rest/repos#pages)
* ```
            [AUTOTITLE](/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)  * [AUTOTITLE](/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages#using-a-custom-domain-across-multiple-repositories) 
  ```