aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2020-08-22-redirect-github-pages.org
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-06-23 15:20:07 -0500
committerChristian Cleberg <hello@cleberg.net>2025-06-23 15:20:07 -0500
commitf304d459c5278a135650296d2b1c407314d903fb (patch)
treec5fbcdebea6b6b389f4bf677355df3107fd7a1fe /content/blog/2020-08-22-redirect-github-pages.org
parent5c89edc7c3ef52910eeb0be9eafa1278f575ffe9 (diff)
downloadcleberg.net-f304d459c5278a135650296d2b1c407314d903fb.tar.gz
cleberg.net-f304d459c5278a135650296d2b1c407314d903fb.tar.bz2
cleberg.net-f304d459c5278a135650296d2b1c407314d903fb.zip
feat(blog): update blog post titles and fix character bugs
Diffstat (limited to 'content/blog/2020-08-22-redirect-github-pages.org')
-rw-r--r--content/blog/2020-08-22-redirect-github-pages.org8
1 files changed, 4 insertions, 4 deletions
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):