ツール

無料 GitHub Pagesツール

カスタムドメイン、静的公開、公開前チェック、GitHub Pages保守のためのツール。

利用できるツール

今すぐ使えるGitHub Pagesツール

このカテゴリでできること

GitHub Pagesは簡単ですが、ドメインと公開フォルダのルールは厳密です。CNAMEの場所やindex.htmlの有無で404になります。

向いている作業

  • GitHub Pagesのカスタムドメイン準備。
  • push前に公開フォルダを確認する。
  • CNAME、sitemap、robots.txtを出力フォルダに置く。

よくある用途

  • 正しいCNAME内容を作る。
  • DNSメモとリポジトリ設定を分ける。
  • HTTPS有効化前に公開状態を確認する。

Task guide

Use GitHub Pages tools when you set up a new site, move an existing site to a custom domain, or troubleshoot a deployment that is not serving correctly. Start by confirming your site repository settings: the publishing source branch and folder. Use the CNAME helper to prepare a custom domain file and verify your DNS configuration before enabling HTTPS. Add a 404 HTML page for single-page applications that handle client-side routing. Finish with the SEO checklist to verify that your generated output includes essential files like robots.txt, sitemap.xml, and proper metadata.

Publishing checklist

  • Confirm the CNAME file exists in the root of your published output, not your project source root, and matches your custom domain exactly.
  • Verify that the GitHub Pages publishing source setting points to the correct branch and folder, such as main /root or gh-pages /docs.
  • Check DNS records for your custom domain: a CNAME record for www and either ALIAS or A records for the apex domain.
  • Test the site URL after HTTPS is provisioned, as GitHub Pages can take several minutes to issue a certificate.
  • Enable HTTPS enforcement only after confirming the site loads correctly over both HTTP and HTTPS.

FAQ

github pagesツールのFAQ

CNAMEファイルはどこに置きますか?

公開されるサイトルートです。distを公開するならdist内に必要です。

push後に404になる理由は?

公開ブランチ、公開フォルダ、index.html、ドメインの紐付け違いがよくある原因です。