From b9e6432ef0b6b70bc9e69083749f8320fe383fce Mon Sep 17 00:00:00 2001 From: ajs256 <67526318+ajs256@users.noreply.github.com> Date: Sun, 17 Jan 2021 17:14:42 -0800 Subject: [PATCH 1/3] Clarify how to create a CNAME Clarify that users should create a CNAME in repo settings, rather than creating it directly. This PR closes #2184. --- .../managing-a-custom-domain-for-your-github-pages-site.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md index 4fe5870a1c2e..52b24e92fbdd 100644 --- a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md +++ b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md @@ -35,7 +35,7 @@ The `dig` command, which can be used to verify correct configuration of DNS reco ### Configuring a subdomain -To set up a `www` or custom subdomain, such as `www.example.com` or `blog.example.com`, you must create a _CNAME_ file in your site's repository and configure a `CNAME` record with your DNS provider. +To set up a www or custom subdomain, such as www.example.com or blog.example.com, you must add your domain in the repository settings, which will create a CNAME file in your site’s repository. After that, configure a CNAME record with your DNS provider. {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} From cbf2acce25bd904ab6bcb576ed0647be33583947 Mon Sep 17 00:00:00 2001 From: ajs256 <67526318+ajs256@users.noreply.github.com> Date: Mon, 18 Jan 2021 16:17:47 -0800 Subject: [PATCH 2/3] Add code tags --- .../managing-a-custom-domain-for-your-github-pages-site.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md index 52b24e92fbdd..54d4422e2b5e 100644 --- a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md +++ b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md @@ -35,7 +35,7 @@ The `dig` command, which can be used to verify correct configuration of DNS reco ### Configuring a subdomain -To set up a www or custom subdomain, such as www.example.com or blog.example.com, you must add your domain in the repository settings, which will create a CNAME file in your site’s repository. After that, configure a CNAME record with your DNS provider. +To set up a www or custom subdomain, such as `www.example.com` or `blog.example.com`, you must add your domain in the repository settings, which will create a CNAME file in your site’s repository. After that, configure a CNAME record with your DNS provider. {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %} From 9919f549a3ac07dbf0b963318628851f3a5bedb5 Mon Sep 17 00:00:00 2001 From: ajs256 <67526318+ajs256@users.noreply.github.com> Date: Mon, 18 Jan 2021 16:22:13 -0800 Subject: [PATCH 3/3] Update managing-a-custom-domain-for-your-github-pages-site.md --- .../managing-a-custom-domain-for-your-github-pages-site.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md index 54d4422e2b5e..8118e6e1765d 100644 --- a/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md +++ b/content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md @@ -35,7 +35,7 @@ The `dig` command, which can be used to verify correct configuration of DNS reco ### Configuring a subdomain -To set up a www or custom subdomain, such as `www.example.com` or `blog.example.com`, you must add your domain in the repository settings, which will create a CNAME file in your site’s repository. After that, configure a CNAME record with your DNS provider. +To set up a `www` or custom subdomain, such as `www.example.com` or `blog.example.com`, you must add your domain in the repository settings, which will create a CNAME file in your site’s repository. After that, configure a CNAME record with your DNS provider. {% data reusables.pages.navigate-site-repo %} {% data reusables.repositories.sidebar-settings %}