Setting Up GitHub Pages with Custom Subdomain Using Cloudflare DNS
·422 words·2 mins·
loading
This guide provides the official, recommended steps to configure a custom subdomain (e.g., blog.savdert.com) for GitHub Pages using Cloudflare as your DNS provider, based on GitHub’s official documentation.
1. Configure GitHub Pages # First, you need to tell your GitHub repository that you intend to use a custom domain.
Navigate to your GitHub repository.
Go to Settings > Pages (under the “Code and automation” section).