Commit 09a4bb5b authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'hms5232-master-patch-15226' into 'master'

Improve docs style of Pages custom domain

See merge request gitlab-org/gitlab!76041
parents bbbf58a3 02f90023
...@@ -131,7 +131,7 @@ domain to the same website, for instance, `example.com` and `www.example.com`. ...@@ -131,7 +131,7 @@ domain to the same website, for instance, `example.com` and `www.example.com`.
They require: They require:
- A DNS A record for the domain. - A DNS `A` record for the domain.
- A DNS `ALIAS`/`CNAME` record for the subdomain. - A DNS `ALIAS`/`CNAME` record for the subdomain.
- A DNS `TXT` record for each. - A DNS `TXT` record for each.
...@@ -148,7 +148,7 @@ If you're using Cloudflare, check ...@@ -148,7 +148,7 @@ If you're using Cloudflare, check
> **Notes**: > **Notes**:
> >
> - **Do not** use a CNAME record if you want to point your > - **Do not** use a `CNAME` record if you want to point your
`domain.com` to your GitLab Pages site. Use an `A` record instead. `domain.com` to your GitLab Pages site. Use an `A` record instead.
> - **Do not** add any special chars after the default Pages > - **Do not** add any special chars after the default Pages
domain. For example, don't point `subdomain.domain.com` to domain. For example, don't point `subdomain.domain.com` to
...@@ -232,7 +232,7 @@ If you use Cloudflare, you can redirect `www` to `domain.com` ...@@ -232,7 +232,7 @@ If you use Cloudflare, you can redirect `www` to `domain.com`
without adding both `www.domain.com` and `domain.com` to GitLab. without adding both `www.domain.com` and `domain.com` to GitLab.
To do so, you can use Cloudflare's page rules associated to a To do so, you can use Cloudflare's page rules associated to a
CNAME record to redirect `www.domain.com` to `domain.com`. You `CNAME` record to redirect `www.domain.com` to `domain.com`. You
can use the following setup: can use the following setup:
1. In Cloudflare, create a DNS `A` record pointing `domain.com` to `35.185.44.232`. 1. In Cloudflare, create a DNS `A` record pointing `domain.com` to `35.185.44.232`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment