Skip to content

Commit 9249129

Browse files
JOJ0lucascostitmetz
authored
Update www-and-apex-domain-recommendation.md (github#4956)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com> Co-authored-by: Tammy Metz <tmetz@users.noreply.github.com>
1 parent ebc023c commit 9249129

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

content/github/working-with-github-pages/about-custom-domains-and-github-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ An apex domain is a custom domain that does not contain a subdomain, such as `ex
4949

5050
An apex domain is configured with an `A`, `ALIAS`, or `ANAME` record through your DNS provider. For more information, see "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain)."
5151

52-
{% data reusables.pages.www-and-apex-domain-recommendation %}
52+
{% data reusables.pages.www-and-apex-domain-recommendation %} For more information, see "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site/#configuring-a-subdomain)."
5353

5454
### Updating custom domains when your {% data variables.product.prodname_pages %} site is disabled
5555

content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To set up a `www` or custom subdomain, such as `www.example.com` or `blog.exampl
6262

6363
To set up an apex domain, such as `example.com`, you must configure a _CNAME_ file in your {% data variables.product.prodname_pages %} repository and at least one `ALIAS`, `ANAME`, or `A` record with your DNS provider.
6464

65-
{% data reusables.pages.www-and-apex-domain-recommendation %}
65+
{% data reusables.pages.www-and-apex-domain-recommendation %} For more information, see "[Configuring a subdomain](#configuring-a-subdomain)."
6666

6767
{% data reusables.pages.navigate-site-repo %}
6868
{% data reusables.repositories.sidebar-settings %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
If you are using an apex domain as your custom domain, we recommend also setting up a `www` subdomain. If you configure the correct records for each domain type through your DNS provider, {% data variables.product.prodname_pages %} will automatically create redirects between the domains. For example, if you configure `www.example.com` as your custom domain for your site, and you have `ALIAS` and `CNAME` records set up for the apex and `www` domains, then `example.com` will redirect to `www.example.com`. For more information, see "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site/#configuring-a-subdomain)."
1+
If you are using an apex domain as your custom domain, we recommend also setting up a `www` subdomain. If you configure the correct records for each domain type through your DNS provider, {% data variables.product.prodname_pages %} will automatically create redirects between the domains. For example, if you configure `www.example.com` as the custom domain for your site, and you have {% data variables.product.prodname_pages %} DNS records set up for the apex and `www` domains, then `example.com` will redirect to `www.example.com`. Note that automatic redirects only apply to the `www` subdomain. Automatic redirects do not apply to any other subdomains, such as `blog`.

0 commit comments

Comments
 (0)