diff options
| author | Christian Cleberg <[email protected]> | 2025-06-23 15:20:07 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2025-06-23 15:20:07 -0500 |
| commit | e6a61a6b88c50f80d8d8ba10e8f8d3f19531b1ca (patch) | |
| tree | c5fbcdebea6b6b389f4bf677355df3107fd7a1fe /content/blog/2020-08-22-redirect-github-pages.org | |
| parent | c9715768e01108f7e74ffab01aa368f8adfc3f15 (diff) | |
| download | cleberg.net-e6a61a6b88c50f80d8d8ba10e8f8d3f19531b1ca.tar.gz cleberg.net-e6a61a6b88c50f80d8d8ba10e8f8d3f19531b1ca.tar.bz2 cleberg.net-e6a61a6b88c50f80d8d8ba10e8f8d3f19531b1ca.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.org | 8 |
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): |
