From f304d459c5278a135650296d2b1c407314d903fb Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 23 Jun 2025 15:20:07 -0500 Subject: feat(blog): update blog post titles and fix character bugs --- content/blog/2020-08-22-redirect-github-pages.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/blog/2020-08-22-redirect-github-pages.org') diff --git a/content/blog/2020-08-22-redirect-github-pages.org b/content/blog/2020-08-22-redirect-github-pages.org index 4f36890..d18784b 100644 --- a/content/blog/2020-08-22-redirect-github-pages.org +++ b/content/blog/2020-08-22-redirect-github-pages.org @@ -1,5 +1,5 @@ #+date: <2020-08-22 Sat 00:00:00> -#+title: Procedure for Redirecting GitHub Pages from WWW Subdomain to Root Domain +#+title: Configure GitHub Pages to Use Your Root Domain Instead of WWW #+description: Stepwise instructions for configuring redirection of GitHub Pages sites from the www subdomain to the apex domain to improve domain resolution and access consistency. #+slug: redirect-github-pages #+filetags: :github:pages:dns: @@ -77,14 +77,14 @@ domains which use fixed GitHub Pages IP addresses will not be accessible (their DNS requests will not be resolvable). That is why GitHub strongly suggests to either use a second-level domain for -your GitHub Pages (e.g. =blog.example.com=) or use a DNS service provider that +your GitHub Pages (e.g. =blog.example.com=) or use a DNS service provider that supports a record type =ALIAS= that acts as =A= record but forwards request to a -URL address (e.g. =username.github.io=) instead of a fixed IP address. +URL address (e.g. =username.github.io=) instead of a fixed IP address. ** How GitHub Pages treats HTTP requests After a DNS request for =your_github_username.github.io= is resolved -into an IP address, e.g. =185.199.108.153= your browser sends an HTTP +into an IP address, e.g. =185.199.108.153= your browser sends an HTTP request to that server with an HTTP header =Host=. Below are =curl= examples that load the same website (these examples might not work if you are behind a proxy server): -- cgit v1.2.3-70-g09d2